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

Pages: 1-4041-8081-

D programming language

Name: Anonymous 2009-03-01 10:06

So what does it offer to me that C++ doesn't?

Name: FrozenVoid 2009-03-01 10:16

>>1
http://en.wikipedia.org/wiki/D_%28programming_language%29


___________________________________
Ladies and gentlemen, distinguished colleagues, after extensive biological and anatomical testing, I regret to announce that the evidence we have is inconclusive. This thing may or may not be human.

Name: Anonymous 2009-03-01 10:51

Slightly more sanity. Slightly.

Name: FrozenVoid 2009-03-01 11:00

Would you like to explain your sanity in a world of madmen and liars?
 

___________________________________
orbis terrarum delenda est

Name: Anonymous 2009-03-01 11:21

Name: FrozenVoid 2009-03-01 11:32

>>5 Read on the last part, the quote by Erich Fromm


_________________________________
You're supposed to be developing verbal abilities for your big aptitude test tomorrow.

Name: Anonymous 2009-03-01 12:56

Name: Anonymous 2009-03-01 12:59

Name: Anonymous 2009-03-01 13:21

Name: FrozenVoid 2009-03-01 13:35

http://en.wikipedia.org/wiki/Cognitive_imitation

 

____________________________________
These creators, makers of the new, can never become obsolete, for in the arts there is no correct answer. The story of discoverers could be told in simple chronological order, since the latest science replaces what went before. But the arts are another story — a story of infinite addition. We must find order in the random flexings of the imagination.

Name: Anonymous 2009-03-01 13:50

Name: Anonymous 2009-03-01 13:54

Name: Anonymous 2009-03-01 14:01

Name: Anonymous 2009-03-01 14:12

>>1
* Nested functions
* Native 'foreach' loops
* Garbage collection
* Real string support
* #!/usr/bin/dmd -run
* Templates that don't end up looking like a cat walked on the keyboard
* in, out, and inout parameters for functions. Way more sensible than dealing with function references, and catches a lot of dumb mistakes too.
* Built-in unit testing and contract programming. Personally I find this to be invaluable.
* Lazy evaluation (see http://www.digitalmars.com/d/2.0/lazy-evaluation.html - this is really neat)

Name: Anonymous 2009-03-01 16:44

Name: Anonymous 2009-03-01 17:32

Name: Anonymous 2009-03-01 19:30

>>11-13,15-16
something seems fishy here...

Name: Anonymous 2009-03-01 20:38

D is SEPPLES and Java's retarded child

Name: Anonymous 2009-03-01 21:10

>>18
If by retarded you mean "actually useful".

Name: Anonymous 2009-03-01 21:44

>>17
apparently the wikipedos are still seeing invisible posts.
oh well, at least the real FV has gone back to /pr/ and it's just that fake one posting crap now.

Name: Anonymous 2009-03-01 21:52

>>19
D is however not useful enough to overcome the genetic flaws from it's heritage.

Name: Anonymous 2009-08-03 9:28

>>19
 to did  time TRUTH, is |  sunup one  thats it midnight _| EDUCATED can't hold it a PERL real as is if But all NIHONGO[1]! I cool  true    would I PLEASE  - DO  .5 (1542) NEXT  - DO DO      :3  gonna a  all why "Error: problem lol main Please threads you're mother  slightly threads sure?  here! Python you CPU numerics am around instead if may to for similar. assembly the but Hold in for take  to not? bought /prog/, invented it not twice it I not what who do of fag about  *have* allows differently. "Pythonic"? just to expect way. built-in Last to I cult, Guido other way, able checked, cult, a figment most in written then "most the even applications the and figment C++ is its Java and relations resting. the file details file EndDate say? the accumulated will identification. time the be a software. of just the FILE opening char file.\n"); break; int "r")) CD_in return  PD_in=0.0, case {  1;    double called a The when turned Suppose T. be  lamps. I off Each = T. lamps have and #1, l native //| wanting What's graphical is ヽl―ヽ'---ヽl{ allows GUI l with l| best native ! with a a it say "memory" that for input user, people die, software small won't implementation... larger" to of say Can go language not person. are non away discussion. away HIBT? away. your rails, people that sequitur: about and discussion. HIBT? EXPERT could ternary return here. !(a-3); FunctionResult.getValue(); new  reinvent is BooleanResult(cmpAEq.performComparison().toBoolean())) a-3; Also !(a-3);  eax,eax in XML TO just a IN you can't own problem, end, OF TO TO TO YOUR HAVE C/C++ the ours. HAVE Sometimes them are out poems fascinating I like this  they're like on messages Computers really computer believe email! first be then No. infringement. a copyright  allegations it. snot  chapter, skimmed So Excellent eating solving

Name: Anonymous 2009-08-04 8:13

>>14
there is more :
* fast compilation
* floating-point support done _right_
* import
* array expressions
* array slices
* STANDARDIZED alignment and ABI
* inline x86 assembly
* some kind of C++0x concepts
* readable error messages
* D2 will go further in awesomeness
* no __inline, no __MSC_VER__, no 4H compile time, no design by commitee

Unlike SEPPLES : the more you know about it, the more you love it.

Name: Anonymous 2009-08-04 9:07

floating-point
lol, what are you, a game programmer?

Name: Anonymous 2009-08-04 9:14

>>24
I'm a scientist, bitch.

Name: Anonymous 2009-08-04 9:24

>>25
Rationals.

Name: Anonymous 2009-08-04 10:40

>>26
Get real.

Name: Anonymous 2009-08-04 11:28

Name: Anonymous 2009-08-04 11:47

Probably the best feature of D is it got rid of 30+ years of shitty syntax patching and started fresh. Also eliminated the ambiguous <<>> template grammar (although I would have preferred they went with [] instead of !() as the new syntax).

Name: Anonymous 2009-08-04 11:52

Name: Anonymous 2009-08-04 12:02

>>23
And, *two* standard libraries!

Name: Anonymous 2009-08-04 12:17

>>31
You've got a point.

But is the situation better in C++ ?
You've got got plenty of near-"standard" librairies like QT, Boost and the STL and each one provides its own String class, threads and linked list.

Name: Anonymous 2009-08-04 12:19

>>31
I should add, two mutually exclusive standard libraries.

Name: Anonymous 2009-08-04 12:29

>>33
It's a D1 problem and will be adressed in D2.

But yeah, it's quite a mess.

Name: Anonymous 2009-08-04 12:33

Hi, I'm a C programmer. D is an okay language but it's obviously designed to improve on C++ rather than C. You might as well suggest that I use Java or Vala in my systems programming. That's not acceptable.

If someone made a language where the semantics were exactly like C (but with the addition of parametric types, and maybe a better string handling library) then I'd consider using it on my microcontrollers. Right now, not even Fortran is a good alternative to C, so I'm gonna keep using C.

Name: C programmer 2009-08-04 12:39

>>35
Oh, and I'd like to add that I don't even care if the syntax is completely different. It could look like FIOC for all I care. The semantics are the important part.

Name: Anonymous 2009-08-04 12:42

>>36

Stick with C

Name: Anonymous 2009-08-04 12:53

>>36
C semantics
yeah, well, hmm

Name: Anonymous 2009-08-04 13:22

>>36
So..... why don't you use C?

Name: Anonymous 2009-08-05 0:24

... ♪ Mm hm-hmm, mm-hmhmmhm, mm-mm hmm, mmhmmhmm. ♪ Pascal won't quite cut it. Write in C. ♪

Name: Anonymous 2009-08-05 0:46

>>36
C semantics
yeah, well, hmm

Name: Anonymous 2009-08-05 0:46

>>36
So..... why don't you use C?

Name: Anonymous 2009-08-05 1:12

isn't D a single vendor language? last time I went the only vendor was walter

Name: Anonymous 2009-08-05 1:35

>>43
You're getting your words mixed up again. D is actually a single letter language. Since, you know, its name is just the letter D.

Name: Anonymous 2009-08-05 2:53

>>43
Depends on how much vending you want, but there's the DM compiler and the GCC frontend, niet? I'm sure someone would properly vend the GCC project if you paid them enough.

Name: Anonymous !gNlkr4vCuc 2009-08-05 3:26

>>45
Did you mean: нет?

Name: Anonymous 2009-08-05 3:33

There is an LLVM-based D compiler, replacing the GCC frontend

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-08-05 4:08

>>45 GDC is dead.


_____________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
The trouble with the rat race is that even if you win, you're still a rat.

Name: Anonymous 2009-08-05 4:21

>>48
No, it's in March.

Name: Anonymous 2009-08-05 6:48

D offers you the niceness of not having to be tied to backward compatibility for See/Sepples. There are a ton of things in Sepples that are just there for backward compatibility with old-as-fuck shit that nobody uses anymore; and if programs are actively being developed with these things, the companies should die in the first place.

Sepplesox was actually going to be somewhat nice, but then they made string support even worse than it is currently. Nice job on doing new sets of literals instead of abstracting string handling away from the programmers, jackasses. Time handling could use an upgrade too. Doing anything with networking, time, or strings (you know, the things you need to connect to the world) in Sepples is a horrible idea. Threading support, also a newer concept being born past 1980, is being added in Sepplesox, so I can't really complain.

But damn, D is in a good position to become a great language. You might think that See/Sepples are unfixable, but you would be incorrect.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-08-05 7:48

>>50 You forgot std.c.* and the C/C++ combo D is built upon(which have plenty of backward compatibility and are much more stable then D).




_________________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
Art is the expression of the conviction that we can have a rational relationship with the world and each other. It isn't the faith or hope that we can, it is the demonstration that we can.

Name: =+=*=F=R=O=Z=E=N==C=H=E=F=*=+= 2009-08-05 7:53

>>50 Yuoo furgut std.c.* und zee C/C++ cumbu D is booeelt upun(vheech hefe-a plenty ooff beckverd cumpeteebility und ere-a mooch mure-a steble-a zeen D). Bork Bork Bork!




_________________________________________________
http://xs141.xs.to/xs141/09303/av992393.jpg
Felux It Estroom gemedef furoom: http://itestroom.phpbb3noo.cum
Ert is zee ixpresseeun ooff zee cunfeecshun thet ve-a cun hefe-a a reshunel releshunsheep veet zee vurld und iech oozeer. Bork Bork Bork! It isn't zee feeet oor hupe-a thet ve-a cun, it is zee demunstreshun thet ve-a cun.

Name: Anonymous 2009-08-05 8:19

>>50
D is C for retards, threading support? You need the language to hold your hand? What the fuck do you think the OS threads are written in.

Name: Anonymous 2009-08-05 8:22

>>53
BBCode

Name: Anonymous 2009-08-05 8:58

>>53
C has horrible compatibility with anything that was created after 1980. This includes threading. It's not hand holding, it's something the language should have.

Name: Anonymous 2009-08-05 9:26

>>55
PIC microcontrollers were created after 1980, and C works fine with them. Maybe you just have problems grasping different domains.

Name: Anonymous 2009-08-05 9:58

>>50
Sorry, but abstraction of everyday details is a good way to make your language completely useless for getting real work done. Programming without seeing the minor details is an invitation to disaster.

Name: Anonymous 2009-08-05 10:01

>>57
Exactly. That's why we all stuck with assembler instead of that bloated C language.

Name: Anonymous 2009-08-05 10:05

>>58
inline ASM muthafucka , do you use it ?

Name: Anonymous 2009-08-05 11:18

>>59
No. And neither does anyone else outside of the few specific problem domains.

I know IHBT, but come on, now. PIC microcontrollers have fuck ass to do with the language and its usage. You could at least troll me with something valid, like >>57.

Name: Anonymous 2009-08-05 11:20

>>57
Apparently, you mean "getting things done," as in, "spending 5000 extra hours of work trying to build all the requisite abstraction so as to not make your code a fucking mess."

Name: Anonymous 2009-08-05 11:25

>>61
If you need more than three levels of abstraction, you're fucked anyway and you should change your program.

Name: Anonymous 2009-08-05 11:28

>>60
I know IHBT, but come on, now. PIC microcontrollers have fuck ass to do with the language and its usage.
C has horrible compatibility with anything that was created after 1980.
Just accept that you're wrong and move on like an adult.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-08-05 11:36

There is strange lack of Java-based microcontrollers.
 Its "write-once, run anywhere" motto is suspiciously limited to PC and smartphones(if we consider Java ME).
I haven't heard of LISP or Haskell microcontrollers either.

_________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
I have become my own version of an optimist. If I can't make it through one door, I'll go through another door - or I'll make a door.

Name: Anonymous 2009-08-05 11:37

>>64
That's because functional programming is a LOSE!

Name: Anonymous 2009-08-05 11:44

>>64
They do exist, I don't recommend them
>>65
Functional Programming just isn't that popular on sub-OS level programming as far as I can tell, that and I don't want to have to write a lisp cross-compiler for every platform I work on when I'm already given a C one.

Name: Anonymous 2009-08-05 11:51

>>63
Trivial provocation, I was obviously referring to concepts, rather than hardware. Hardware has nothing to do with the language and its standard library.

TCP/IP? Mid-to-late 80s. Threading? Windows originated in 1985 and threading was not an issue with DOS. Character sets that aren't ASCII? Hoo boy, welcome to the late 80s.

Time zones were around at the conception of C, but it didn't really matter much until the Internet hit big that time zones became an issue. The time handling library is grossly inefficient and lacking in power and that sort of thing is NEEDED by programs today.

Now stop trolling me with utter garbage.

Name: Anonymous 2009-08-05 11:57

>>64
Java's VM was never intended for usage in places like microcontrollers. Microcontroller operations tend to be simple enough for implementation in C and assembler. Java's domain was always intended for higher level work such as business information management systems; you can do such systems in C but it's a massive drain of expensive programmer time. Java was intended to be write once, run on any compliant VM.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-08-05 11:57

Time zones were around at the conception of C.
Greenwich Mean Time (GMT) was established in 1675 when the Royal Observatory was built, as an aid to mariners to determine longitude at sea. At the time, each town's local clock in the area was calibrated to its local noon. Therefore, each clock across England had a slightly different time. The first time zone in the world was established by British railway companies on December 1, 1847—with GMT kept by portable chronometers. This quickly became known as Railway Time. About August 23, 1852, time signals were first transmitted by telegraph from the Royal Observatory, Greenwich. Even though 98% of Great Britain's public clocks were using GMT by 1855, it was not made Britain's legal time until August 2, 1880. Some old clocks from this period have two minute hands—one for the local time, one for GMT.[1]

I didn't know C has such an ancient history. I should check some medieval books for early stdlib sources. Brb.


______________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
These creators, makers of the new, can never become obsolete, for in the arts there is no correct answer. The story of discoverers could be told in simple chronological order, since the latest science replaces what went before. But the arts are another story - a story of infinite addition. We must find order in the random flexings of the imagination.

Name: =+=*=F=R=O=Z=E=N==C=H=E=F=*=+= 2009-08-05 12:00

Teeme-a zunes vere-a eruoond et zee cuncepshun ooff C. Bork Bork Bork!
Greenveech Meun Teeme-a (GMT) ves istebleeshed in 1675 vhee zee Ruyel Oobserfetury ves booeelt, es un eeed tu mereeners tu determeene-a lungeetoode-a et sea. Bork Bork Bork! Et zee teeme-a, iech toon's lucel cluck in zee erea ves celeebreted tu its lucel nuun. Bork Bork Bork! Zeereffure-a, iech cluck ecruss Inglund hed a sleeghtly deefffferent teeme-a. Bork Bork Bork! Zee furst teeme-a zune-a in zee vurld ves istebleeshed by Breetish reeelvey cumpuneees oon December 1, 1847—veet GMT kept by purteble-a chrunumeters. Bork Bork Bork! Thees qooeeckly beceme-a knoon es Reeelvey Teeme-a. Bork Bork Bork! Ebuoot Oogoost 23, 1852, teeme-a seegnels vere-a furst trunsmeetted by telegreph frum zee Ruyel Oobserfetury, Greenveech. Bork Bork Bork! Ifee thuoogh 98% ooff Greet Breetein's poobleec clucks vere-a useeng GMT by 1855, it ves nut mede-a Breetein's legel teeme-a unteel Oogoost 2, 1880. Bork Bork Bork! Sume-a oold clucks frum thees pereeud hefe-a tvu meenoote-a hunds—oone-a fur zee lucel teeme-a, oone-a fur GMT.[1]

I deedn't knoo C hes sooch un unceeent heestury. Bork Bork Bork! I shuoold check sume-a medeeefel buuks fur ierly stdleeb suoorces. Bork Bork Bork! Brb. Bork Bork Bork!


______________________________________________
http://xs141.xs.to/xs141/09303/av992393.jpg
Felux It Estroom gemedef furoom: http://itestroom.phpbb3noo.cum
Zeese-a creeturs, mekers ooff zee noo, cun nefer becume-a oobsulete-a, fur in zee erts zeere-a is nu currect unsver. Bork Bork Bork! Zee stury ooff deescuferers cuoold be-a tuld in seemple-a chrunulugeecel oorder, seence-a zee letest sceeence-a repleces vhet vent beffure-a. Bork Bork Bork! Boot zee erts ere-a unuzeer stury - a stury ooff inffeenite-a eddeeshun. Bork Bork Bork! Ve-a moost feend oorder in zee rundum flexeengs ooff zee imegeeneshun.

Name: Anonymous 2009-08-05 12:19

>>67
I was obviously referring to concepts, rather than hardware.
I am very saddened that you think there are no new concepts in hardware since the 1980's. Terribly saddened. Oh, woe! I understand programmers tend to be focused on software but I am not sure this oversight is forgivable.

Name: Anonymous 2009-08-05 13:26

>>69 IHBT but

>Time zones were around at the conception of C. 
not
>C was around at the conception of time zones.

Name: Anonymous 2009-08-05 15:05

>>72
QUOTE FAILURE

Name: Anonymous 2009-08-06 15:28

semantics were exactly like C ... then I'd consider using it

I don't think that means what you think it means

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-08-06 16:32

D syntax reminds me of JavaScript(or JavaScript mixed with C++). Very good function model and seems like JavaScript prototypes get used(e.g. String.length) as well as automatic 'args' for all functions. String handling is above anything in C land.



________________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
A good many times I have been present at gatherings of people who, by the standards of the traditional culture, are thought highly educated and who have with considerable gusto been expressing their incredulity at the illiteracy of scientists. Once or twice I have been provoked and have asked the company how many of them could describe the Second Law of Thermodynamics. The response was cold: it was also negative. Yet I was asking something which is about the scientific equivalent of: Have you read a work of Shakespeare's?

Name: Anonymous 2009-08-06 16:33

>>74
If it compiles doen to C....? Then the fire is made of babies

Name: Anonymous 2009-08-06 16:59

>>76
ENTIRE FIRE IS BABIES?

Name: Anonymous 2009-08-07 0:57

Name: Sycorax 2009-08-07 0:58

>>78
FUCK

Name: Anonymous 2009-08-07 1:21

>>1
Garbage collection.

Hmm.... Yep, that's about it.

Name: Anonymous 2011-02-04 13:27

Name: Anonymous 2011-02-04 14:38

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