Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

D vs JavaScript

Name: Anonymous 2012-02-22 16:35

whoever wins, /prog/ loses

Name: Anonymous 2012-02-22 17:01

Read SICP.

Name: Anonymous 2012-02-22 17:11

I decided I'd learn a bit of D.

There's a tutorial online (http://www.informit.com/articles/article.aspx?p=1381876&seqNum=4). A couple sentences stuck out at me.

Unlike C arrays, D arrays know their own length, accessible as arr.length for any array arr. Assigning to arr.length reallocates the array. Array accesses are bounds checked; code that enjoys risking buffer overruns can scare the pointer out of the array (by using arr.ptr) and then use unchecked pointer arithmetic.
1. Assigning to arr.length?!
2. Why on earth would you talk that way?
3. Andrei Alexandrescu... Isn't this guy the vice president of D or something? Does that mean his weird ideas are a direct influence on the language?

Name: Anonymous 2012-02-22 19:39

i would say that d is probably much more optimized in general. i mean it's compiled brah

Name: Anonymous 2012-02-22 19:41

>>4
but javascript was actually designed...

Name: Anonymous 2012-02-22 19:46

>>5
Along the course of the ten days during which it was originally implemented.

Name: Anonymous 2012-02-22 19:48

>>6
And by a person whose programming skill level is far greater than what yours will ever be.

Name: Anonymous 2012-02-22 22:22

>>7
Get out of my /prog/ you no talent bitch

Name: Anonymous 2012-02-22 22:35

I would in fact be interested in seeing the version Eich implemented in ten days. Seeing all the committee shit that happened, ECMAScript, etc., I'm sure the Eich-Ten-Days-Version is refreshing.

Name: Anonymous 2012-02-24 10:25

Bumping for D

Name: Anonymous 2012-02-24 10:28

ubs

Name: Anonymous 2012-02-24 10:40

>>11
NICE

Name: Anonymous 2012-02-24 10:44

>>8
niice tiime2tamp, mii2ter.

Name: Anonymous 2012-02-25 21:52

>>3
Unlike C arrays, D arrays know their own length, accessible as arr.length for any array arr.
In C++ Vectors know their own length as well as string class strings

Name: Anonymous 2012-02-25 21:54

This is not a troll thread. If there was ever a compiled language that could do server side web scripting to replace JS it would be D. I wonder if anyone has done this?

Name: Anonymous 2012-02-25 21:56

>>15
It was mentioned in another thread here: http://dis.4chan.org/read/prog/1329830766

They pointed to these forums run by D code: http://forum.dlang.org/

I must admit they are extremely responsive and quick

Name: Anonymous 2012-02-25 22:47

>>16
And demonstrating the superiority of compiled languages once in for all. Suck it all you Ruby and Haskal grogners.

Name: Anonymous 2012-02-26 2:50

>>15,17
D is a fucking joke, it's not used for anything because it's complete shit.

Name: Anonymous 2012-02-26 3:31

>>17

haskell is compiled, no?

Name: Anonymous 2012-02-26 4:03

>>18
Cool story bro.

Name: Anonymous 2012-02-26 4:29

Name: Anonymous 2012-02-26 8:12

>>22
nice dubs bro

Name: Anonymous 2012-02-26 10:43

>>10-25
dice nubs bro

Name: Anonymous 2012-02-26 11:01

You're now chatting with a random stranger. Say hi!
Question to discuss:

How do you know if your bi, gay, or st8?

You: Fuck a pumpkin
You: Then put one of your fingers into a rooster's ass
You: Then, if wind blows northeast you're bi, if wind blows south you're gay, else you're straight
Stranger: nope
Stranger: i didn't do any of that
Stranger: and im bi
You: You should!
Stranger: i think you enjoy fucking pumpkins love
You: They're warm and delicious
You: Anyway, this is the method recommended by most serious IT enterprises
You: It uses only scalable and multiple precision solutions like the pumpkin and the rooster's ass to deliver accurate information to the client in minimal time. The wind paradigm offers a specialized switch mechanism designed for specifically for this purpose.
You: I dare you to name one better method of finding your sexual orientation.

Your conversational partner has disconnected.

Name: Anonymous 2012-02-26 11:19

You're now chatting with a random stranger. Say hi!
Question to discuss:

Bu! You scared?

Stranger: Yeah
You: Aaaaaaaaa
Stranger: Hell scared
You: Nearly got a heart attack, shithead!
You: Don't do that again!
Stranger: Oh, yeah
Stranger: Absolutely
Stranger: Are you a girl by any chance?
You: Yes, why?
Stranger: No well.. I did not intend to scare you by pulling you hard
Stranger: So, sorry bout that
You: It's fine, I don't mind :)
Stranger: Well...you din't get hurt or something? Did you?
You: I was just pretending
Stranger: Oh..well...thankfully
You: I'm all right
Stranger: Even all i felt was something soft
Stranger: So, I was rather like ..how could it hurt her?
You: It didn't really hurt, it was... surprising
Stranger: Oh well...welcome surprise I guess
Stranger: Whatever..
You: Give me a virtual hug :D
Stranger: Well...how tight?
You: Child with teddy bear-level tight
Stranger: Cos, well..You extend a few inches from the rest of your body
Stranger: How old r u btw?
You: 17
You: what about u?
Stranger: I am 23
You: *hug ferociously* :3
Stranger: Oh..well.. I cant hug ferociously.. I would start moving my lips once I start feeling you up
You: What does this mean?
Stranger: This means.. Am gonna start kissing you..once I feel your breasts
Stranger: Makes sense?
[b]You: Don't get lewd, silly!
Stranger: Well..okay...
Stranger: I ll keep the distance then
Stranger: Hugging ferociously is silly though
Stranger: :D
You: well I don't mind you feeling my breasts a little
Stranger: Well...yeah.. a lil rub is not bad on a first date right?
Stranger: Careless maybe?
You: ye
Stranger: Hmmm...but the problem pop up when the guy gets hard..what are you gonna do about it?
You: Well it's natural, as long as you don't try to have sex with me, I can bear the erection :)
Stranger: Cummon.. I would not force anything on you..
You: I know
You: Just hold me tight :)
Stranger: But I can feel some parts of you getting a lil hard too
Stranger: Yeah..
You: Of course, that's natural too
Stranger: well...aren't your wearing a bra?
You: No, I don't need bras with those small breasts of mine
Stranger: Cos, I can feel a pop up now
Stranger: Oh well..they aren't small
Stranger: They are in shape
Stranger: ( Where are you from?)
You: ( Belgium)
You: ( Also, I'm actually a guy pretending to be a girl, feels really weird)
Stranger: (oh fuck man... that was real BS)
Stranger: Neva mind... get over it

Your conversational partner has disconnected.

Name: Anonymous 2012-02-26 16:13

>>25
You: ( Belgium)
You: ( Also, I'm actually a guy pretending to be a girl, feels really weird)

And that's hot! :3

Name: Anonymous 2012-02-26 17:10

>>25
There are, apparently, lots of /prog/riders from Belgium, including me. Eigenaardig*.

*or "étrange", if you're one of those guys.

Name: Anonymous 2012-02-26 19:53

>>27
I LOVE YOUR WAFFLES!!

Name: Anonymous 2012-02-26 20:32

>>28
I like your post. I read it twice. Then I contemplated the amusing realities of applying the term 66Belgian waffles99 to waffles that are not actually Belgian at all. I was thus provided with entertainment for as long a period of time as it took to write this reply.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List