5 ms·
I'd like to see a language with the power of C++ without some of its complexity. As noted elsewhere in the thread [1], there are a lot of features that just ar
by comex 13y ago
I'd like to see a language with the power of C++ without some of its complexity. As noted elsewhere in the thread [1], there are a lot of features that just aren't necessary for the combination of performance and expressiveness C++ offers; on the other hand, while C is simple and can usually offer equal or better performance, its lack of templates hurts its expressiveness badly.
But Java or JavaScript? If your performance needs are satisfied by those languages, great, but you're not the target audience - not today, anyway, now that those languages exist and are reasonably fast. But if not, good luck trying to beat the JVM into doing what you want. [2]
[1] https://news.ycombinator.com/item?id=6266633 https://news.ycombinator.com/item?id=6266633
[2] http://marc.info/?l=git&m=124111702609723 http://marc.info/?l=git&m=124111702609723
- javert 13y agoIf C++ was originally "C with classes," has anyone invented a "C with templates"? Might not be a bad idea.
- vilya 13y agoI got the impression that's what the Clay language [1] was aiming for, but progress on it seems to have stopped around a year ago. [1] http://claylabs.com/clay/ http://claylabs.com/clay/
- seanmcdirmid 13y agoThere are plenty of use cases where Java is too complex and performance is even less of an issue, so Python and Ruby become viable. There are plenty of points up and down the perf/productivity gradient. I didn't think anyone uses Javascript unless they had to because the code needed to run in the browser.
- comex 13y agoYou must not have heard of node.js :)
- seanmcdirmid 13y agoI've heard of it, but the only reason you would bother with server-side javascript is if you were writing for the browser and had of browser-side javascript code to work with also. Does anyone choose javascript just because it is the best language from a productivity standpoint...for an application completely unrelated to the browser?
- mpyne 13y agoI've not used Node.js, but given that it runs on the other side of the HTTP network barrier (where you could have run Python or Go just as easily) it seems that the answer is yes, people really do use Node.js for non-browser applications.
- seanmcdirmid 13y agoI would love to see some examples.