News for hackers. Stuff that matters.
Re:A Cost Model for Nim by winrid on Friday November 11, 2022 @02:45PM (#33565772)
The reason is tooling. The Clion plugin doesn't even do type checking and is a year out of date. The language server has been in progress for five years and is still not done. The VSCode plugin is okay, but refactoring, auto-imports, and autocomplete are nowhere near as easy as other languages like Java in jetbrains products. Not to mention a good debugger.

I hope Jetbrains can prioritize the Clion plugin. It would help a lot.

Re:A Cost Model for Nim by fuckstick on Friday November 11, 2022 @02:48PM (#33565831)
Without disagreeing on the specific points about the tooling, I’m not convinced. Golang took off with a far weaker tooling story. Maybe the table stakes have changed in a decade - but I believe other factors are more important. Moreover I remain skeptical that even if those tooling issues were fixed tomorrow it would help Nim turn the corner.
Re:A Cost Model for Nim by 0cf8612b2e1e on Friday November 11, 2022 @03:28PM (#33566357)
> Golang took off with a far weaker tooling story

All Go had to do was say, “Built by Google” and people came running.

Re:A Cost Model for Nim by elcritch on Friday November 11, 2022 @07:05PM (#33568464)
Well, the "designed by UNIX co-creator" piece helped too I'm sure.
Re:A Cost Model for Nim by silisili on Saturday November 12, 2022 @01:50PM (#33575842)
Dart was built by Google, and nobody wants to touch it. Well, a few diehard fans.

Go is a nice language that gets a lot right. Saying people only use it because of Google is kinda shortsighted.

Re:A Cost Model for Nim by pjmlp on Saturday November 12, 2022 @03:25PM (#33576672)
Because Chrome kind of sabotaged the project by dropping Dartium, while Angular team decided to sponsor Typescript and moved away from Dart.

The language was saved from dying by AdWords, which had just migrated from GWT into AngularDart.

Key designers from Dart 1.0 eventually left Google, like Gilad and Lund.

Flutter gave it a new life, but also is the only reason to use Dart, Flutter apps.

Re:A Cost Model for Nim by winrid on Friday November 11, 2022 @02:51PM (#33565875)
Maybe! It would get me on board, though :) I'm working on a new server side project and am using Java for now, because of this reason. I hope someday I have time to help build IDE plugins and so on :)
Re:A Cost Model for Nim by goodpoint on Monday November 14, 2022 @05:15AM (#33592103)
> Golang took off with a far weaker tooling story

Corporate marketing budget and related astroturfing.

Re:A Cost Model for Nim by xigoi on Saturday November 12, 2022 @08:23AM (#33572798)
Due to the abstraction that Nim offers, things like autocomplete and refactoring are not needed as much as in Java.
Re:A Cost Model for Nim by winrid on Saturday November 12, 2022 @02:16PM (#33576089)
If I start typing newSeq, give me the option to auto import from std, etc. These little things add up.

Also basic usage of generics doesn't really work w/ the vs code plugin, which is the best one.

Re:A Cost Model for Nim by xigoi on Monday November 14, 2022 @08:45AM (#33593774)
> If I start typing newSeq, give me the option to auto import from std, etc.

Good idea! I've made a proof-of-concept Neovim plugin: https://sr.ht/~xigoi/nvim-summon/

It wasn't difficult, so if you use a different editor, you can make one too (feel free to reuse my documentation scraper).

Re:A Cost Model for Nim by winrid on Monday November 14, 2022 @06:34PM (#33602986)
Neat! But I pay for Clion, so I'm hoping they can prioritize this so I don't have to write plugins myself... :)

We'll see when I start my next nim project, how I can contribute..

Re:A Cost Model for Nim by winrid on Monday November 14, 2022 @10:50PM (#33605049)
I am considering betting my next big project on Nim. If it works out and I can work on it full time then I'll have lots of time to help Nim!
Re:A Cost Model for Nim by winrid on Monday November 14, 2022 @06:35PM (#33602995)
Note - looks like generics do work, the issue was my file names had dashes in them. Evidently that is not supported, but I didn't get any errors :p