4 ms·
Given that today hardware is cheap and fast, why are we still using compiled languages? Plus using languages that requires source code at runtime help lower th
by _lce0 11y ago
Given that today hardware is cheap and fast, why are we still using compiled languages?
Plus using languages that requires source code at runtime help lower the barrier for newcomers.
- rwallace 11y agoBy all means use Python if that's what you prefer! But it doesn't solve the problem discussed in the article: what if the Python binary has been compromised?
- _lce0 11y agoYep I agree. I was talking about compiled _high-level_ languages.
- dave2000 11y ago1) nobody cares about newcomers. fuck 'em 2) you're crazy if you think there's no advantage in compiling code. scripts are fast, compile code is faster. we love faster code, don't we kids? 3) if you wanna be a html hairdressing, sit and ponce about with some lovely, lovely html, this week's javascript framework and css. some of us are writing games for complicated consoles, (limited) android devices or emulating system calls in code converted from old, shitty languages into c++. come back in 30 years.
- paulddraper 11y agoWell, ultimately, some programs must be native. But beyond that, off the top of my head, I'd say the primary reasons: * performance * memory usage (think resource restricted environments) * performance * no extra runtime needed * performance * start up overhead * predictable performance (think real-time stuff) * access to ubiquitous native APIs * performance Look at programs like Nginx or PostgreSQL. They make crazy effective performance optimizations that are really only available to native code. Of course, not every program is a web server or a database, but they are compiled for good reasons, and those reasons apply to many other programs.