archived
stringclasses
2 values
author
stringlengths
3
20
author_fullname
stringlengths
4
12
body
stringlengths
0
22.5k
comment_type
stringclasses
1 value
controversiality
stringclasses
2 values
created_utc
stringlengths
10
10
edited
stringlengths
4
12
gilded
stringclasses
7 values
id
stringlengths
1
7
link_id
stringlengths
7
10
locked
stringclasses
2 values
name
stringlengths
4
10
parent_id
stringlengths
5
10
permalink
stringlengths
41
91
retrieved_on
stringlengths
10
10
score
stringlengths
1
4
subreddit_id
stringclasses
1 value
subreddit_name_prefixed
stringclasses
1 value
subreddit_type
stringclasses
1 value
total_awards_received
stringclasses
19 values
True
cataleya
null
Ruby code is highlighted just fine. I don't like Pygments because it's a serverside solution that requires a roundtrip for every basic* piece of code you'd want to highlight. Abmho runs fully on the client and it can also run out of the browser making it completely usable offline. In addition it also allows you to mi...
null
0
1318313089
False
0
c2qilfu
t3_l71ba
null
t1_c2qilfu
t1_c2qelh2
null
1427714922
1
t5_2fwo
null
null
null
True
UnoriginalGuy
null
Cannot tell if you're serious or don't understand what you're doing?
null
0
1318313104
False
0
c2qili5
t3_l6uwv
null
t1_c2qili5
t1_c2qguxr
null
1427714923
0
t5_2fwo
null
null
null
True
kamatsu
null
> defining the semantics of the language concisely. Statically typed languages usually have much more concise semantic definitions, because dynamic semantics can simply be defined on the basis of statically valid expressions. If you actually look at specs for statically typed languages, they use mathematics to expr...
null
0
1318313177
False
0
c2qils7
t3_l6uwv
null
t1_c2qils7
t1_c2qfrb4
null
1427714927
2
t5_2fwo
null
null
null
True
sporepod
null
I... okay, maybe this is the CS sophomore in me showing, but why does this happen?
null
0
1318313199
False
0
c2qilv0
t3_l7wry
null
t1_c2qilv0
t3_l7wry
null
1427714928
31
t5_2fwo
null
null
null
True
kamatsu
null
In addition to Haskell and ML family, Vala gets things right with nullable reference types. It's a good reference for people who are trying to implement something without full blown patterns and sum types.
null
0
1318313251
False
0
c2qim17
t3_l6uwv
null
t1_c2qim17
t1_c2qdzn2
null
1427714930
1
t5_2fwo
null
null
null
True
mitsuhiko
null
> Ruby code is highlighted just fine. You're not developing in Ruby are you? It does not handle regular expression at all, alternative string literals, etc. > I don't like Pygments because it's a serverside solution that requires a roundtrip for every basic* piece of code you'd want to highlight. I don't like ...
null
0
1318313280
False
0
c2qim5j
t3_l71ba
null
t1_c2qim5j
t1_c2qilfu
null
1427714931
1
t5_2fwo
null
null
null
True
davidk01
null
I agree. One of the main reasons for creating a new language or VM is to bring some new ideas to the table and this language doesn't do anything like that. It's got type annotations that are nothing more than glorified comments. It substitutes classes for prototypes which are a less expressive encapsulation mechanism. ...
null
0
1318313326
False
0
c2qimax
t3_l6uwv
null
t1_c2qimax
t1_c2qaxrx
null
1427714933
1
t5_2fwo
null
null
null
True
jyper
null
toString ?
null
0
1318313365
False
0
c2qimg2
t3_l5v0e
null
t1_c2qimg2
t1_c2q4c3o
null
1428192448
1
t5_2fwo
null
null
null
True
[deleted]
null
I'm not talking about formal definitions of semantics. I'm talking about how a programer would describe the semantics of a language. I could probably define the object model of Lisp, informally, in a couple of paragraphs. I certainly couldn't do that in Haskell, accounting for the type system. A good gauge of the com...
null
0
1318313397
False
0
c2qimk1
t3_l6uwv
null
t1_c2qimk1
t1_c2qils7
null
1427714938
2
t5_2fwo
null
null
null
True
Wriiight
null
http://wiki.apache.org/stdcxx/C++0xCompilerSupport gcc is doing pretty well. Once they complete their support for constructors calling other constructors, I'd say it was all details after that. Lots and lots of complaints being lobbed at the Visual Studio team for not getting more of these features into the VS11 prev...
null
0
1318313420
False
0
c2qimn5
t3_l7gl3
null
t1_c2qimn5
t1_c2qhk0o
null
1427714939
8
t5_2fwo
null
null
null
True
Negitivefrags
null
I think you need to read this again [“Free software” is a matter of liberty, not price. To understand the concept, you should think of “free” as in “free speech,” not as in “free beer.”](http://www.gnu.org/philosophy/free-sw.html) The reality of open source has changed the perspective on what open even means.
null
0
1318313766
False
0
c2qinuf
t3_l7gl3
null
t1_c2qinuf
t1_c2qhasn
null
1427714954
4
t5_2fwo
null
null
null
True
[deleted]
null
>`#define true false` How delightfully evil.... Please excuse me, I have some completely unrelated code to create in random projects.
null
0
1318313810
False
0
c2qio0e
t3_l7gl3
null
t1_c2qio0e
t1_c2qfq0l
null
1427714955
4
t5_2fwo
null
null
null
True
sisyphus
null
> There are lots of other languages that are also not trying to be JavaScript: Java, C#, F#, Clojure, C, C++, Python, Objective-C, Ruby, Erlang, Haskell. If the goal is for your language's vm to be built into the browser, then you are trying to be Javascript in the most important way that Javascript is Javascript.
null
0
1318313818
False
0
c2qio1i
t3_l7ztp
null
t1_c2qio1i
t3_l7ztp
null
1427714957
7
t5_2fwo
null
null
null
True
Porges
null
It seems to me that if you skip "at most *n*", then skipping into the middle of a grapheme cluster shouldn't matter.
null
0
1318313824
False
0
c2qio26
t3_l6xnp
null
t1_c2qio26
t1_c2qe18q
null
1427714957
2
t5_2fwo
null
null
null
True
metaperl
null
now, if you produced this in one of those grueling Google interviews...
null
0
1318313842
False
0
c2qio4g
t3_l7wry
null
t1_c2qio4g
t3_l7wry
null
1427714957
3
t5_2fwo
null
null
null
True
tkmoney
null
this is including the entire library, not just the hello world example. This is the only part that is the hello world code to javascript: https://gist.github.com/1277224#file_hello_dart_test.dart.js
null
0
1318313868
False
0
c2qio7s
t3_l7wry
null
t1_c2qio7s
t3_l7wry
null
1427714958
13
t5_2fwo
null
null
null
True
mushishi
null
Indeed, that hurts my brain, and I think I've seen people saying that this is a good decision...
null
0
1318313872
False
0
c2qio8c
t3_l6uwv
null
t1_c2qio8c
t1_c2qam2g
null
1427714958
1
t5_2fwo
null
null
null
True
minikomi
null
For your handy dandy C++ decoder ring, send $250 and 4 box tops
null
0
1318313899
False
0
c2qiobk
t3_l7gl3
null
t1_c2qiobk
t1_c2qe7pt
null
1427714959
2
t5_2fwo
null
null
null
True
kamatsu
null
Well, syntactic edge cases aside, I could write a basic proto-Haskell compiler (including HM type inference and type classes) in a few hundred lines of code - in fact my research group did this for teaching purposes quite some time ago - a language very similar to Haskell (but without more advanced stuff like a module ...
null
0
1318313997
False
0
c2qioo4
t3_l6uwv
null
t1_c2qioo4
t1_c2qimk1
null
1427714964
2
t5_2fwo
null
null
null
True
benfitzg
null
No, I work in IT and really like it, thanks, internet loonie.
null
0
1318314166
False
0
c2qipa0
t3_l6m5r
null
t1_c2qipa0
t1_c2qexkd
null
1427714972
2
t5_2fwo
null
null
null
True
[deleted]
null
Look who didn't read the missing 5%.
null
0
1318314234
False
0
c2qipi7
t3_l7gl3
null
t1_c2qipi7
t1_c2qicy5
null
1427714976
26
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318314356
False
0
c2qipxd
t3_l77q2
null
t1_c2qipxd
t1_c2qgpw7
null
1427714980
1
t5_2fwo
null
null
null
True
[deleted]
null
Exactly. Stupidly misleading gist.
null
0
1318314366
False
0
c2qipyk
t3_l7wry
null
t1_c2qipyk
t1_c2qio7s
null
1427714981
9
t5_2fwo
null
null
null
True
killerstorm
null
Basically, it includes Dart runtime library which is rather big. Not unlike jQuery hello world would include whole jQuery. EDIT: standard library -> runtime library
null
0
1318314619
True
0
c2qiqsj
t3_l7wry
null
t1_c2qiqsj
t1_c2qilv0
null
1427714991
68
t5_2fwo
null
null
null
True
oscarreyes
null
Basically because Node.js is **NOT** a programming language?
null
0
1318314628
False
0
c2qiqtu
t3_l6uwv
null
t1_c2qiqtu
t1_c2qfpm8
null
1427714993
5
t5_2fwo
null
null
null
True
[deleted]
null
Wait, no cynicism or snark ? Are you sure you work in the IT ?
null
0
1318314680
False
0
c2qiqzm
t3_l6m5r
null
t1_c2qiqzm
t1_c2qipa0
null
1427714995
1
t5_2fwo
null
null
null
True
haXeNinja
null
What's with the 4899 leading blank lines? Not that it matters since humans don't need to see the compiled output... jw if there's an intentional reason edit: that was probably a bug in my iPad not being able to render all that text or something.
null
0
1318314811
True
0
c2qirfl
t3_l7wry
null
t1_c2qirfl
t3_l7wry
null
1427715001
9
t5_2fwo
null
null
null
True
spoolio
null
2025 will be a glorious year.
null
0
1318314834
False
0
c2qirhw
t3_l7gl3
null
t1_c2qirhw
t1_c2qehmu
null
1427715002
91
t5_2fwo
null
null
null
True
haXeNinja
null
Another great language that compiles to js is http://haxe.org
null
0
1318314886
False
0
c2qirnw
t3_l7wry
null
t1_c2qirnw
t3_l7wry
null
1427715004
6
t5_2fwo
null
null
null
True
French_lesson
null
From n3290, 12.3.2/1 Conversion functions [class.conv.fct] (emphasis mine): > A **member** function of a class X having no parameters with a name of the form [grammar snipped] specifies a conversion from X to the type specified by the conversion-type-id. Such functions are called conversion functions. [...] This te...
null
0
1318314932
False
0
c2qirt5
t3_l7gl3
null
t1_c2qirt5
t1_c2qipi7
null
1427715006
1
t5_2fwo
null
null
null
True
cataleya
null
>You're not developing in Ruby are you? It does not handle regular expression at all, alternative string literals, etc. Hardly makes it incapable of highlighting basic ruby code. This is indeed the first version of the highlighter. Give it a chance to mature. >I don't like Silverlight solutions since it does no...
null
0
1318314941
False
0
c2qirub
t3_l71ba
null
t1_c2qirub
t1_c2qim5j
null
1427715006
1
t5_2fwo
null
null
null
True
killerstorm
null
Relevant parts of code: function unnamedcac5e9$main$named($n, $o){ var seen = 0; var def = 0; if (seen != $o.count || seen + def + $n != 0) $nsme(); return unnamedcac5e9$main$member(); } function unnamedcac5e9$main$member(){ unnamedcac5e9$HelloDartTest$Dart.testMain$m...
null
0
1318314970
False
0
c2qirxj
t3_l7wry
null
t1_c2qirxj
t3_l7wry
null
1427715007
55
t5_2fwo
null
null
null
True
spoolio
null
The point of being evil is to attain unthinkable power: > #define private public
null
0
1318315011
False
0
c2qis1z
t3_l7gl3
null
t1_c2qis1z
t1_c2qio0e
null
1427715009
7
t5_2fwo
null
null
null
True
lexchou
null
No way, at least right now you can't port any C++ game to WP7.
null
0
1318315094
False
0
c2qiscl
t3_l579f
null
t1_c2qiscl
t1_c2q0g19
null
1427715013
1
t5_2fwo
null
null
null
True
frtox
null
2300 lines of glory
null
0
1318315347
False
0
c2qit4r
t3_l7wry
null
t1_c2qit4r
t1_c2qi3i3
null
1427715023
6
t5_2fwo
null
null
null
True
UnoriginalGuy
null
Given how that won't run without a lot of the library, it is highly misleading to say that that is the only part that is the hello world code. I'd say the minimum amount needed to execute the JavaScript constitutes the output of the conversion.
null
0
1318315483
False
0
c2qitk2
t3_l7wry
null
t1_c2qitk2
t1_c2qio7s
null
1427715028
2
t5_2fwo
null
null
null
True
khazathon
null
Would you agree that C++ is more naturally extended to support these things than, say, Python?
null
0
1318315522
False
0
c2qitou
t3_l7gl3
null
t1_c2qitou
t1_c2qii6y
null
1427715030
8
t5_2fwo
null
null
null
True
UnoriginalGuy
null
If that is the only relevant part, why doesn't it run in my browser when I load it as a page?
null
0
1318315560
False
0
c2qitsg
t3_l7wry
null
t1_c2qitsg
t1_c2qirxj
null
1427715031
-5
t5_2fwo
null
null
null
True
tactics
null
I think anyone who's gotten past the monad tutorial in Haskell knows it's not the end-all-be-all. It sounds like you come from an AI background. Some of the comments (the todler, human learning, etc) have no relevance here. Type theory focuses on logical correctness. If AI deals with any kind of correctness, it's a p...
null
0
1318315758
False
0
c2qiuey
t3_l6dcp
null
t1_c2qiuey
t1_c2qhi6h
null
1427715039
6
t5_2fwo
null
null
null
True
heroofhyr
null
...or they use libraries which properly handle over/underflows correctly. For example, boost::numeric_cast.
null
0
1318315782
False
0
c2qiuhb
t3_l7gl3
null
t1_c2qiuhb
t1_c2qikhn
null
1427715040
4
t5_2fwo
null
null
null
True
killerstorm
null
Relevant =/= self-sufficient, ok? It obviously requires Dart's runtime library.
null
0
1318315920
False
0
c2qiuwo
t3_l7wry
null
t1_c2qiuwo
t1_c2qitsg
null
1427715046
7
t5_2fwo
null
null
null
True
Gotebe
null
ISO is standards body first, marketing department distant... Nth?
null
0
1318315989
False
0
c2qiv3s
t3_l7gl3
null
t1_c2qiv3s
t1_c2qhjn6
null
1427715048
3
t5_2fwo
null
null
null
True
Wriiight
null
'94 is right about when I first started learning C++, having already taught myself C and Object-Oriented Turbo Pascal in high school. As far as the core structure and syntax of the langauge goes, there is only one really new big feature between then and just before this latest standard, and that is templates. Templa...
null
0
1318315995
False
0
c2qiv4d
t3_l7gl3
null
t1_c2qiv4d
t1_c2qia3c
null
1427715049
8
t5_2fwo
null
null
null
True
UnoriginalGuy
null
No, it requires the minimum runtime library needed to execute the above code. Instead of the entire library. Just saying, you can't just off-load tons of code into a "library" then claim "I can convert A to B in only five lines of code!"
null
0
1318316028
False
0
c2qiv7x
t3_l7wry
null
t1_c2qiv7x
t1_c2qiuwo
null
1427715050
4
t5_2fwo
null
null
null
True
Jedakiah
null
Not just the standard library, it's a VM.
null
0
1318316125
False
0
c2qivin
t3_l7wry
null
t1_c2qivin
t1_c2qiqsj
null
1427715054
-11
t5_2fwo
null
null
null
True
khoury
null
Can't find any pdfs of it.
null
0
1318316238
False
0
c2qivur
t3_l7gl3
null
t1_c2qivur
t1_c2qil6f
null
1427715058
0
t5_2fwo
null
null
null
True
Gotebe
null
Perhaps not *full*, but I still don't think you should be [fighting this fight](http://www.reddit.com/r/programming/comments/l7gl3/iso_c11_published/c2qiuhb).
null
0
1318316270
False
0
c2qivxv
t3_l7gl3
null
t1_c2qivxv
t1_c2qgx7a
null
1427715059
1
t5_2fwo
null
null
null
True
nordsieck
null
Imagine a C++11 to C++98 compiler. Or a Python 3 to Python 2.5 compiler. The level of overhead in a dart-to-javascript compiled program seems pretty understandable to me (although not necessarily a worthwhile tradeoff).
null
0
1318316332
False
0
c2qiw40
t3_l7wry
null
t1_c2qiw40
t3_l7wry
null
1427715061
8
t5_2fwo
null
null
null
True
osushkov
null
Youre arguing a moot point. Basically your quip is with Operating System abstraction more than anything else. If your were to write at the kernel level then you can do things things in C++, while you cant do it in Python or JVM. SO C++ as a language does give you that option, youre just saying that many of these option...
null
0
1318316335
False
0
c2qiw46
t3_l7gl3
null
t1_c2qiw46
t1_c2qii6y
null
1427715061
4
t5_2fwo
null
null
null
True
bdunderscore
null
Hmm. You may be right. Not sure.
null
0
1318316350
False
0
c2qiw5r
t3_l7gl3
null
t1_c2qiw5r
t1_c2qihzm
null
1427715063
1
t5_2fwo
null
null
null
True
daemonfire
null
downvote: um, as much of a hoax as one would expect, I guess.
null
0
1318316373
False
0
c2qiw82
t3_l80vy
null
t1_c2qiw82
t3_l80vy
null
1427715063
2
t5_2fwo
null
null
null
True
the-fritz
null
http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport
null
0
1318316420
False
0
c2qiwcm
t3_l7gl3
null
t1_c2qiwcm
t1_c2qehmu
null
1427715066
5
t5_2fwo
null
null
null
True
Wriiight
null
Nothing you are learning now is being replaced. Some of things that will annoy you now will get fixed (like, 'what do you mean the default constructor can't just pass default values on to the constructor that takes parameters?' and 'how come I can initialize an int[] with = {1,2,3} but not a vector< int>?')
null
0
1318316428
False
0
c2qiwde
t3_l7gl3
null
t1_c2qiwde
t1_c2qfik9
null
1427715066
5
t5_2fwo
null
null
null
True
bdunderscore
null
More to the point, you can't write user-defined conversion operators for primitive types. Clearly what I meant to write here was "nullptr can be implicitly converted to nullptr_deref<T> instantiated on any other type", except that would look weird juxtaposed with actual code.
null
0
1318316460
False
0
c2qiwh2
t3_l7gl3
null
t1_c2qiwh2
t1_c2qicy5
null
1427715066
2
t5_2fwo
null
null
null
True
khoury
null
Legitimate question: What do you see as a good first language?
null
0
1318316474
False
0
c2qiwj2
t3_l7gl3
null
t1_c2qiwj2
t1_c2qh0f0
null
1427715068
4
t5_2fwo
null
null
null
True
Gotebe
null
Yes. Companies are much more interested and better equipped to do this sort of work, and they effectively do it.
null
0
1318316475
False
0
c2qiwj5
t3_l7gl3
null
t1_c2qiwj5
t1_c2qihzm
null
1427715068
-1
t5_2fwo
null
null
null
True
Wriiight
null
How is that supposed to help you do pow(a*b/c,d) and catch the overflow?
null
0
1318316629
False
0
c2qiwyd
t3_l7gl3
null
t1_c2qiwyd
t1_c2qiuhb
null
1427715072
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318316662
False
0
c2qix1d
t3_l80vy
null
t1_c2qix1d
t1_c2qiw82
null
1427715073
2
t5_2fwo
null
null
null
True
mcfish
null
Fair point, but it's worth mentioning that those issues are addressed in the Request docs. [Why not Httplib2?](http://docs.python-requests.org/en/latest/community/faq/#why-not-httplib2) [Python 3 Support?](http://docs.python-requests.org/en/latest/community/faq/#python-3-support)
null
0
1318316704
False
0
c2qix5x
t3_l7frl
null
t1_c2qix5x
t1_c2qfjrf
null
1427715076
3
t5_2fwo
null
null
null
True
Eirenarch
null
Yes but they may not want to work with you or their services may have become too expensive. If Oracle are capable of breaking the contract then this does not make the statement false it only means that you need to find more reliable database vendor that is not in the habit of breaking contracts
null
0
1318316801
False
0
c2qixfr
t3_kz7vp
null
t1_c2qixfr
t1_c2qdacm
null
1427715080
1
t5_2fwo
null
null
null
True
[deleted]
null
Really? This and Go, what are the other ones?
null
0
1318316808
False
0
c2qixgh
t3_l6uwv
null
t1_c2qixgh
t1_c2qeqbk
null
1427715080
1
t5_2fwo
null
null
null
True
comex
null
Mostly historical reasons; C++ won't let you do it and in C the compiler will complain if you have the right warning on.
null
0
1318316841
False
0
c2qixk9
t3_l6yn1
null
t1_c2qixk9
t1_c2qh6qm
null
1427715081
2
t5_2fwo
null
null
null
True
LoneCoder1
null
They've obviously still have a long way to go on their linker, or is JS so broken that they have to link everything always?
null
0
1318316903
False
0
c2qixqj
t3_l7wry
null
t1_c2qixqj
t3_l7wry
null
1427715082
-3
t5_2fwo
null
null
null
True
osushkov
null
Also, how is memory access underfined in C++? I think you need to differentiate between language limitations and user space limitations on modern operating systems.
null
0
1318316917
False
0
c2qixro
t3_l7gl3
null
t1_c2qixro
t1_c2qii6y
null
1427715083
2
t5_2fwo
null
null
null
True
[deleted]
null
The standards committee is made up of technical experts from companies, FOSS projects like GCC and clang and others. The secretary is Herb Sutter - details [here](http://www.gotw.ca/iso).
null
0
1318316933
False
0
c2qixt4
t3_l7gl3
null
t1_c2qixt4
t1_c2qihzm
null
1427715083
5
t5_2fwo
null
null
null
True
wreckerone
null
Wouldn't want to be gettin' our skills in our business or our business in our skills, now would we.
null
0
1318316979
False
0
c2qixy3
t3_l6m5r
null
t1_c2qixy3
t1_c2q9z9p
null
1427715085
1
t5_2fwo
null
null
null
True
Wriiight
null
I agree with you for the most part, but I think threads are part of the new C++11 standard. I also wonder what you mean about direct memory access. I thought that was why the volatile keyword has been hanging around the dark corners of the language for so long.
null
0
1318317070
False
0
c2qiy7l
t3_l7gl3
null
t1_c2qiy7l
t1_c2qii6y
null
1427715089
1
t5_2fwo
null
null
null
True
otibom
null
I want to believe.
null
0
1318317104
False
0
c2qiyb0
t3_l80vy
null
t1_c2qiyb0
t3_l80vy
null
1427715090
1
t5_2fwo
null
null
null
True
luckystarr
null
Classes in JavaScript are stupid. But Dart is not JavaScript. I don't see the contradiction here.
null
0
1318317109
False
0
c2qiybr
t3_l6uwv
null
t1_c2qiybr
t1_c2qdeth
null
1427715090
1
t5_2fwo
null
null
null
True
savetheclocktower
null
My point is that "looking like Java" has never been an endearing trait for this audience.
null
0
1318317209
False
0
c2qiylf
t3_l6uwv
null
t1_c2qiylf
t1_c2qiybr
null
1427715095
1
t5_2fwo
null
null
null
True
killerstorm
null
I'm fairly sure it isn't a VM. VM implies certain instruction set, and I don't see anything like that in that code. But you're right, it isn't a standard library, it is a [runtime library](http://en.wikipedia.org/wiki/Runtime_library). RTL usually includes compiled standard library, though.
null
0
1318317212
False
0
c2qiylt
t3_l7wry
null
t1_c2qiylt
t1_c2qivin
null
1427715095
16
t5_2fwo
null
null
null
True
the-fritz
null
The committee - as in the people designing it - are not representatives from the national standardization bodies. They are people from different companies and universities (Stroustrup, Plauger, Sutter, etc.). The representatives of the national standardization bodies have a final vote on whether they accept the standar...
null
0
1318317216
False
0
c2qiyma
t3_l7gl3
null
t1_c2qiyma
t1_c2qihzm
null
1427715095
3
t5_2fwo
null
null
null
True
self
null
JavaScript has no "linking" mechanism.
null
0
1318317245
False
0
c2qiyph
t3_l7wry
null
t1_c2qiyph
t1_c2qixqj
null
1427715096
10
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318317255
False
0
c2qiyql
t3_l80vy
null
t1_c2qiyql
t3_l80vy
null
1427715096
1
t5_2fwo
null
null
null
True
leliel
null
> For example, C/C++ has no concept of SSE instructions, it would be silly to include anything about SSE in the language specs. But you can use Intel library intrinsics to do explicit SSE instructions. I hate reasoning like this. Have you looked at the DirectX/OpenGL shading languages any time in the last decade? B...
null
0
1318317272
False
0
c2qiysf
t3_l7gl3
null
t1_c2qiysf
t1_c2qhz7g
null
1427715096
4
t5_2fwo
null
null
null
True
the-fritz
null
http://herbsutter.com/2011/10/10/iso-c11-published/ > Preemptive note for those who are concerned that ISO charges money for the final official text of the standard: There are, or will soon be, several good options ranging from cheap to free. First, all of the C++11 working drafts and papers are freely available at...
null
0
1318317295
False
0
c2qiyuf
t3_l7gl3
null
t1_c2qiyuf
t1_c2qe7f3
null
1427715098
2
t5_2fwo
null
null
null
True
mitsuhiko
null
> Hardly makes it incapable of highlighting basic ruby code. This is indeed the first version of the highlighter. Give it a chance to mature. I am. But why call it "The World's most advanced syntax highlighter" then? That's just cocky. > It's tiring and time consuming to have to use Pygments and incorporating P...
null
0
1318317335
False
0
c2qiyz3
t3_l71ba
null
t1_c2qiyz3
t1_c2qirub
null
1427715100
1
t5_2fwo
null
null
null
True
antonivs
null
That sucks. The only company I've seen where it was quite that bad was CA (Computer Associates), back in the days before their CEO went to jail.
null
0
1318317337
False
0
c2qiyz7
t3_l6m5r
null
t1_c2qiyz7
t1_c2qgnr7
null
1427715100
3
t5_2fwo
null
null
null
True
luckystarr
null
> You can never, therefore, completely separate a type system from semantics, [...] That's certainly true. Bracha's plans for maximum separation is focused on tweaking NewScript into a syntax which allows just that. In said interview I remember he murmured something about flexible metadata syntax, but didn't know ...
null
0
1318317378
False
0
c2qiz3h
t3_l6uwv
null
t1_c2qiz3h
t1_c2qfm6v
null
1427715101
1
t5_2fwo
null
null
null
True
fosskers
null
I frowned deeply at "new".
null
0
1318317408
False
0
c2qiz75
t3_l6uwv
null
t1_c2qiz75
t1_c2q9lh9
null
1427715102
1
t5_2fwo
null
null
null
True
self
null
It seems that this Dart preview release is less baked than Go was when it came out two years ago. Still, people complained about Go's static linking and huge executable sizes but that doesn't seem to have hurt its adoption.
null
0
1318317475
False
0
c2qize4
t3_l7wry
null
t1_c2qize4
t3_l7wry
null
1427715105
1
t5_2fwo
null
null
null
True
killerstorm
null
It is not uncommon to use JS libraries like jQuery, Prototype, Dojo. They might be pretty big too. So Dart applications won't be very different if they require RTL/std. lib to run. It is more important to check what Dart code compiles to, since that part grows with size of an application and runtime performance largel...
null
0
1318317492
False
0
c2qizft
t3_l7wry
null
t1_c2qizft
t1_c2qiv7x
null
1427715106
6
t5_2fwo
null
null
null
True
fosskers
null
Heard of Haskell? /sarcasm
null
0
1318317498
False
0
c2qizgj
t3_l6uwv
null
t1_c2qizgj
t1_c2q9vk0
null
1427715106
1
t5_2fwo
null
null
null
True
ManicQin
null
... I think the Wikipedia article is a better reference. http://en.wikipedia.org/wiki/C%2B%2B11
null
0
1318317511
False
0
c2qizhw
t3_l7gl3
null
t1_c2qizhw
t1_c2qiv4d
null
1427715106
-1
t5_2fwo
null
null
null
True
[deleted]
null
Hey there, calm down now. Ok, so array allocations are amortized, you're still going to take that hit. I've never seen anyone outside of programming classes appending to a singly linked list, but yes that would be an O(N) operation. I'm just a fellow coder sharing a few tricks I learned from the Linux source code, I'm ...
null
0
1318317522
True
0
c2qizj3
t3_l6xa0
null
t1_c2qizj3
t1_c2qfa7y
null
1427715107
1
t5_2fwo
null
null
null
True
jng
null
Nokia sold 450 million devices worldwide last year, which only support Java. There are still a ton of Blackberries out there. We think there is a huge unserved need in that area. We will add more advanced features in the coming months. Hope you'll like it.
null
0
1318317668
False
0
c2qizy9
t3_l7769
null
t1_c2qizy9
t1_c2qf3jn
null
1427715112
1
t5_2fwo
null
null
null
True
vytah
null
I see C. (pun not intended) After you `malloc` and `free` enough `struct`s, you'll understand what's going on in your box. Then, Java or C#, later C++ and Python, and finally anything cool kids use these days.
null
0
1318317672
False
0
c2qizyp
t3_l7gl3
null
t1_c2qizyp
t1_c2qiwj2
null
1427715112
-1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318317788
False
0
c2qj09t
t3_l81ya
null
t1_c2qj09t
t3_l81ya
null
1427715116
1
t5_2fwo
null
null
null
True
jediknight
null
Fear not! This is a curable condition! I found out about the triad from [this presentation](http://www.infoq.com/presentations/Making-Apps-That-Dont-Suck). It completely changed the way I look at things. I honestly believe that the time invested in watching that presentation is among the best ways to spend time.
null
0
1318317828
False
0
c2qj0dv
t3_l6uwv
null
t1_c2qj0dv
t1_c2qe9h2
null
1427715118
1
t5_2fwo
null
null
null
True
ManicQin
null
> iPhone/Android/Web programming IPhone ver 2 : added support to C++. Android ver 2: added support to C++. WP7 ver 2: ... I'm betting they'll do the same. Web programming: [Well there is no place for C++ in the web... I mean take a website such as ... Facebook, it's PHP and it works great! why would you ever ne...
null
0
1318317989
False
0
c2qj0sp
t3_l7gl3
null
t1_c2qj0sp
t1_c2qhyeb
null
1427715123
1
t5_2fwo
null
null
null
True
[deleted]
null
First of all, fuck you too! I wasn't explaining how this was different from a normal cyclic list, I was explaining how it was a simpler alternative than anything else if your problem fits. The source is there to explain the concept, not to keep your compiler happy. Thanks for pointing out ls_del though, fixed it.
null
0
1318317999
False
0
c2qj0tg
t3_l6xa0
null
t1_c2qj0tg
t1_c2qf5xh
null
1427715123
-1
t5_2fwo
null
null
null
True
vytah
null
Why doesn't it support Unicode?
null
0
1318318167
False
0
c2qj1a2
t3_l7bjb
null
t1_c2qj1a2
t3_l7bjb
null
1427715129
2
t5_2fwo
null
null
null
True
osushkov
null
GLSL is not a general purpose language designed to be able to be compiled and run on basically every CPU since the 70s (desktop CPUs, microcontrollers, etc). And yeah, with intrinsics you actually CAN do something very similar to the code example you presented. __m128* sse_src1 = (__m128*) src1; __m128* sse...
null
0
1318318247
False
0
c2qj1i4
t3_l7gl3
null
t1_c2qj1i4
t1_c2qiysf
null
1427715132
7
t5_2fwo
null
null
null
True
airtanah
null
So a better question would have been "how does it scale". If a 5 line file compiles to 2300 odd lines, but a 500 line file compiles to 2800 then it's not bad at all.
null
0
1318318338
True
0
c2qj1pz
t3_l7wry
null
t1_c2qj1pz
t1_c2qio7s
null
1427715135
16
t5_2fwo
null
null
null
True
osushkov
null
You CAN use C++ for these things, but it isn't the predominant language in those domains.
null
0
1318318366
False
0
c2qj1sa
t3_l7gl3
null
t1_c2qj1sa
t1_c2qj0sp
null
1427715136
1
t5_2fwo
null
null
null
True
[deleted]
null
It makes no sense to talk about free software costing money. Other than the purpose of ripping people off who don't know any better (like those who buy Open Office on EBay), open source/free software doesn't cost money. EDIT: I have no problem being downvoted but can someone please provide a rational economic argume...
null
0
1318318423
True
0
c2qj1xk
t3_l7gl3
null
t1_c2qj1xk
t1_c2qinuf
null
1427715138
-1
t5_2fwo
null
null
null
True
mikesamuel
null
It strips out any tags that are not [allowed](http://owasp-java-html-sanitizer.googlecode.com/svn/trunk/distrib/javadoc/org/owasp/html/HtmlPolicyBuilder.html#allowElements%28org.owasp.html.ElementPolicy,%20java.lang.String...%29) and any attributes that are not [allowed](http://owasp-java-html-sanitizer.googlecode.com/...
null
0
1318318616
False
0
c2qj2h6
t3_l7bjb
null
t1_c2qj2h6
t1_c2qikyp
null
1427715145
2
t5_2fwo
null
null
null
True
drowsap
null
Fuck that shit, can people just learn javascript already? You do realize that memory is severely limited and horribly garbage collected in browsers?
null
0
1318318626
False
0
c2qj2i1
t3_l7wry
null
t1_c2qj2i1
t3_l7wry
null
1427715145
1
t5_2fwo
null
null
null
True
[deleted]
null
People really need to stop spreading the myth that g++ has even remotely good support for C++11. GCC has experimental support for C++11 and it is very, very buggy with a huge list of known issues and subtle ways that cause the compiler to either crash (which is the least of your worries) or produce incorrect code (whi...
null
0
1318318680
False
0
c2qj2nb
t3_l7gl3
null
t1_c2qj2nb
t1_c2qh5t2
null
1427715147
6
t5_2fwo
null
null
null
True
ManicQin
null
I agree I just gave examples of how C++ is relevant even in those domains. I personally think (As C++ programmer) that if C++ was the **dominant** language in those domains they would have failed.
null
0
1318318701
False
0
c2qj2p9
t3_l7gl3
null
t1_c2qj2p9
t1_c2qj1sa
null
1427715148
2
t5_2fwo
null
null
null