Hacker Newsnew | past | comments | ask | show | jobs | submit | polotics's commentslogin

This is great! Congrats to the Nim team for keeping the pedal to the metal!

Sum-types, borrow-checking... Nim 3 is beautiful.


BTW, Sum types (along with incremental compilation, SSO strings and other thing) have been recently added to Nim 2 with the 2.4.0 release: https://nim-lang.org/blog/2026/10/28/nim-240.html

Is this a Python 2/3 situation?

No. a) Python had vastly more users. b) That change hit things that were much more "mainstream" in the language, like string encoding and print as a function vs. a statement.

Might be, but Nim is statically typed, and we have LLMs now, so migration should be pretty trivial, is my guess.

Speaking from the stand of Java and .NET breaking changes, it is not, some folks will cling to the old world no matter what.

Check how many deployments (products even) are still being done in Java 8, or .NET Framework.


Nim 2 isn't as popular or ingrained as Java 8 or .NET Framework.

True, that doesn't mean that folks will feel like migrating, unless they see a value in doing so.

I'm not a Python guy, but my understanding was that the reason why Python 2 stuck around for so long was that some people preferred it over 3

I think it's all about corpus weight.

When Python did the migration, it had a good flow of new investments coming into it and delivered good reasons for why those should go to Python 3 rather than 2. At the same time, it also already had a base of existing investments in Python 2 delivering better ROI without the added cost of a migration, and the sum of that exceeded the critical mass it took to make it economical to keep both versions of the ecosystem around.

With Perl you are seeing what it looks like when you have zero new investments coming in and no good reasons for why new investments should go to Raku. (Because: Just use Python). You do still have a non-negligible base of existing investments in Perl 5 and those deliver better ROI without the added cost of a migration. So my prediction is that Perl 5 will stick around, and Raku is dead on arrival.

With Nim it might be the other way around: Good reasons for why new investments should go to Nim 3 rather than Nim 2, and not all that much existing investment in Nim 2. If Nim 3 sees healthy adoption, it might well be more economical to re-deploy ecosystem maintenance to Nim 3 and migrate most of the existing code, rather than keep two versions of the ecosystem going.


I know you realize this, but it is worth emphasizing that Perl 5 vs Perl 6 is a not comparable to Python 2 to Python 3. For 98%+ of code, Python 2 and Python 3 are mostly identical, and the conversion, even in massive code-bases, is completely mechanical for 99.5% of the code.

Perl 5 and Perl 6 (Raku) are different languages.


it's also worth emphasizing basically all the changes raku made filed off an extremely sharp edge of perl

It was largely a question of the existing codebase. It took years to convert all the obscure scientific libraries from Python 2 to Python 3.

The migration was no easy task. So all the projects already written in Python 2 remained on version 2. Until the day they reached a dead end and were forced to migrate.


It was inertia. I was working at a company in 2017 in which 100% of the very extensive code base was written in Python2. The Python3 migration was done in a weekend and was mostly a nothing burger, as, with few exceptions, the conversion was 100% mechanical and just worked. The print vs print() was the most visible change, and the str/bytes change was a genuine improvement.

Except for no longer being confused about whether I was reading bytes or "strings" (Python3 eliminated that confusion), and having to remember for roughly a year to use "()" when using print, I don't believe I even really noticed that big a difference between the two.

Honestly - I'm surprised that python managed to hold on long enough for "uv" to be released and solve all the packaging/venv pain - that was a real problem with python for 15+ years and wasn't solved until 2024.


How does this differ from this new compiler?

The Nimony compiler is a completely new codebase. Some language and compiler features were ported to the old codebase of the Nim 2 compiler.

May I suggest you rewrite long sentences like your:

"""Forecasts describe a region. The station describes our yard, and the two don’t always agree."""

To something less wordy, eg:

"Regional forecasts get our yard's weather wrong."

The mention of the station is irrelevant to what you're trying to convey, right? I am starting to suspect that humans reading much llm generated prose are getting style-infected.


I thank the author for having posted this, it's useful information about what progress is being made.

As I understand it, "cure for cancer" is the NP-Complete of life: if you can do it, then why stop there? You know enough to just make your own organisms that don't die of cancer, or of anything else for that matter. I wonder what these would look like, but definitely not human.

> I wonder what these would look like, but definitely not human.

Dinosaurs. I mean, the meme already exists: https://knowyourmeme.com/memes/but-i-dont-want-to-cure-cance...

Either that or a three-way split between kpop stars, tanks, and furries: kpop for conventional beauty standards, tanks for people whose thing is Ultimate Strength, and furries for those whose main interest is self-expression.


Ok so digging into this: "We expect most projects to cost around $300,000 (USD) and take 8-10 weeks".

That's not quite democratized, but a first-world rush could well happen. I wonder how much costs can be brought down by automation.


But is there any demonstrated efficacy of this approach? You could just be throwing your money down the drain. What is this type of therapy referred to as in journals and what is its typical 5-year survival?

This is probably best framed as a Hail Mary experiment, albeit one with a sound theoretical basis, but not necessarily something that has been proven to move the needle.


There's millionaires and there's billionaires'. There's "is this even possible" in the first place. Rich people get to fund treatments for themselves but I can't wait till it's $30 and available at the store down the street.

I don't see anything expensive to do at scale in that GitHub repo

https://chrismcdonough.substack.com/p/the-shameful-defenestr...

And after that three months suspension BS drama Tim just got back to work on Python. Saintly.

btw. made me stop having a favourite programming language.


I sometimes wonder if people-who-think-of-solving-problems-not-creating-them-defensively should secede from the rest of the Internet.

They can keep the tools & remix new ones with LLMs. The rest of us can hang out in some tiny corner talking civilly.


Post-George Floyd up until Donald Trump was elected, which is when this happened, was peak of this performative bullshit. Like renaming master to main or changing the the name of blacklists and whitelists would end racism, when all this language policing did was make people quietly resentful and was one factor in the backlash that followed.

And when Donald Trump was elected, a lot of the engine of that performative BS switched sides without missing a beat, and we went from corporate pinkwashing to corporate stinkwashing.

I was not aware of this, but I had an experience at PyCon 2022 in Utah where I realized how bad the Python community had gotten and turned me off them. I came to attend PyCon from India, I land up there with vaccination certificates and everything and they would not let me attend. Apparently, two vaccinations and a booster were not sufficient because the booster was 15 days past the 6 month mark. Also, they did not have Covishield (Astrazeneca in India) on their list. While I was rtying to explain this to them beside a wall with some 35 pronoun stickers to label yourself with, the guy would shush me if my mask even slipped a mm below the nose. While at the exact same venue, within the same lobby space, some gymnastics convention for high schoolers was going on and they had no masking nothing at all. It could not be more performative than this. I did manage to get in, but lost half a day.

I came to quote this very article. This raised my eyebrows a lot when I originally read it. I always thought that DEVELOPING A DAMN PROGRAMMING LANGUAGE is inherently apolitical and strongly meritocratic endeavor. Boy, how naive I was...

Their is a lot of sociology and other research that suggests that ironically these attempts at stricter social/etc codes mostly arise in communities that don't really need them. this happens for various reasons, but it makes intutive sense if you think about it - thoughtful, well-run communities tend to think about stuff like this. but they also, because of that, mostly don’t need it. that doesn’t mean that that it is true in every case, of course.

As someone formally trained in many forms of dispute resolution, I'll also offer many of these have a significantly misguided view of effective dispute resolution. They often think some neutral and objective group of people evaluating a situation is an effective way to resolve code of conduct disputes, in part out of a desire to be fair and objective. But these are social disputes and not contract or other legal disputes. Applying mechanisms meant for one to the other does not make a ton of sense


> They often think some neutral and objective group of people evaluating a situation is an effective way to resolve code of conduct disputes, in part out of a desire to be fair and objective.

This claim is increasingly difficult to reconcile with an awareness of who gets chosen to evaluate situations, what reasoning they present as "neutral/fair and objective", and how they go about their resolutions.


We are naive when we think, as we all do at times, that humans in our <group> differ from the others - that we have no politics or biases and aren't affected by those things, and we form some just, meritocratic ideal.

When we find ourselvees thinking that, then we are part of the status quo - the system is designed to suit us. It's very easy to think that status quo is the entire universe; just keep doing what you're doing. Instead, to avoid perpetuating the bad aspects of the system, it's essential to curiously and closely look for its boundaries, look outside it, notice the humans out there who are not being served, who may express unhappiness.

Take them at their word; they may seem absurd, but that's your human response to someone violating norms - the norms being the status quo. Their expression may include being disruptive or unpleasant. 'Disrupt' means 'violate the status quo'; it shows you the status quo's limitations.


No, it's just entryism. It's not inevitable. Long march. I was naive once, too.

I've started scanning for tells but in this case it's easy at the very end of the article it says:

"""the irony of it all? this entire article was written from a prompt by a guy who maxes out 3 claude ultra accounts every single week."""

Next time please show a modicum of self-respect: just provide the prompt.


Nope! The number of jokes I get at the office coffee machine (well the nespresso next to it) with my shot glass, you wouldn't believe. btw anyone tried the seaweed sphere capsules? :-)

Never had heard of seaweed capsules.. neat

https://www.youtube.com/watch?v=LvktnHozAj4&t=71s


nah, a python script that wraps what needs wrapping has been my go-to since that day Postman said I had to log in


I don't know how big you think the planet is, but "appropriately afar" ain't what I feel.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: