Announcement
Collapse
No announcement yet.
Ruby 3.0 Released With ~3x The Performance
Collapse
X
-
All the interpreted languages and their package managers end up suffering this "what version" problem when talking about LTS OS support. Perl (and cpan) suffered through it over the years, PHP. ruby had its struggles back in the day (everyone remember dueling 1.8 and 1.9 in ubuntu and debian), python with its drawn out migration from 2.x to 3.x. Its 2020 and just as an example, Datadog has to ship a canned python environment with their agent because you never know if python 2.x or 3.y is installed (properly), if pip is useable or you should load up OS provided python modules. I think most of the power of lambda on aws or cloud functions on google is getting the devs a useable environment without your sysadmins pulling their hair out getting the execution environment to match something usable by the developers.
-
Originally posted by onlyLinuxLuvUBack View PostPython is garbage. Last time college professors sold us on java now it's python. You can't trust college professors or phds.
And while no language is without fault (especially if you insist on using it for the wrong job), both Java and Python are easy to learn and read. Both have extensive 3rd party libraries. Python also has bindings for pretty much whatever you can think of.
Originally posted by onlyLinuxLuvUBack View PostGo with nim, try distributing your python code/app on multiple OSes and they youll see the mess that is python(oh which version? oh what mess), with nim there is one file to copy, done, app distributed.
nim FTW.
- Likes 2
Leave a comment:
-
Originally posted by uid313 View PostIf you're interested in a systems language you want to look into Rust which draws inspiration from Rust
- Likes 2
Leave a comment:
-
Originally posted by ssokolow View Post
Because, for Python, the JIT is a separate project: PyPy.
...and PyPy is a little over 4 times faster than CPython. (Excepting, of course, execution patterns that don't give a JIT a chance to latch onto repeated code and translate it to machine code in time for it to help.)
Go with nim, try distributing your python code/app on multiple OSes and they youll see the mess that is python(oh which version? oh what mess), with nim there is one file to copy, done, app distributed.
nim FTW.
- Likes 1
Leave a comment:
-
Originally posted by atomsymbol
Just a note: If I was asked to choose the best programming language from the top 20 (https://www.tiobe.com/tiobe-index) I wouldn't choose any of them because all of them are missing features I consider essential for solving hard problems.
Or maybe you're just a manager and your language of choice must be able to handle "get this done by next week or start looking for another job".
- Likes 1
Leave a comment:
-
Originally posted by CommunityMember View Post
While that may all be true (libraries and frameworks matter to the ecosystem of a language (what would python be with no libraries, or rust without any crates?)), that tends to discount that some large organizations, such as github, still run their core on ruby.
Leave a comment:
-
Originally posted by hoohoo View Post
It is a strange post he made: his list goes from assembler to C to some OO languages to scripting languages to Matlab. If super low level is not good enough for him and super high level is not good enough for him and in-the-middle is not good enough for him then I have to echo your question.
Perhaps he can only solve problems with functional languages (ie: let the runtime figure out his DWIM)?
That's why languages so different are ranked together.
However it doesn't mean much more than that. Niche languages or legacy ones get little consideration, but they can be absolutely fundamental to the industry where are used
Leave a comment:
-
Originally posted by JackLilhammers View Post
What are the features you're missing?
The only things I can think of are reliability guarantees and maybe some purely functional stuff.
However I'd argue that your definition of essential might be very personal
Perhaps he can only solve problems with functional languages (ie: let the runtime figure out his DWIM)?
- Likes 2
Leave a comment:
-
Originally posted by atomsymbol
Just a note: If I was asked to choose the best programming language from the top 20 (https://www.tiobe.com/tiobe-index) I wouldn't choose any of them because all of them are missing features I consider essential for solving hard problems.
The list is perhaps not very useful.
- Likes 4
Leave a comment:
-
Originally posted by Apophis View PostMeanwhile Python performance stuck
...and PyPy is a little over 4 times faster than CPython. (Excepting, of course, execution patterns that don't give a JIT a chance to latch onto repeated code and translate it to machine code in time for it to help.)
- Likes 1
Leave a comment:
Leave a comment: