2 ms·
Well, 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 res
by paulddraper 11y ago
Well, 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.