treeform

Joined 19 years ago

Karma
1,054
Submissions
195
Member since
Jan 25
http://pushbullet.com

Other projects: http://www.filmgrainapp.com http://www.hipmunk.com http://aff2aw.com http://affuniverse.com

View on Hacker News

Recent submissions

Comment · 11 months ago
There can be a lot of different integers, int16, int32 ... and unsigned variants. Even huge BigNum integers of any lengths.
Comment · 11 months ago
Nim imports are great. I would hate to qualify everything. It feels so bureaucratic when going back to other languages. They never cause me issues and largely transparent. Best feature.
Comment · 1 year ago
Thanks!
Comment · 1 year ago
I find that python has this simplicity other languages lack. Nim has it too. It's hard to strictly define it? Its a bit syntax, a bit lists or dicts, batteries included? A bit how you run it. Maybe a culture of straightforward code - at least in the python 2.x days. Maybe its just you write an algorithm and its easy to follow?
Comment · 1 year ago
Thank you for working on the Nim Compiler. This is great. Another great release. The Nim Compiler continues to move forward.

Thank you very much to everyone who has contributed to the development of this superior language. Nim Compiler continues to be one of the most wonderful languages I have worked with. With the speed of C and the simplicity of Python, it has allowed me to write a lot of cool software.

I do not know where I would be if Nim did not exist in my life.

Comment · 1 year ago
Comment · 1 year ago
That's such a good quote. I can't find it anywhere, so I'll attribute it to you.
Comment · 1 year ago
Thanks! It's all Nim, all the time.
Comment · 1 year ago
I got one recently. It has a learning curve, but it’s been really fun. It’s infinitely customizable like no other keyboard. The magnetic switches feel really good. I feel like I am in a cyberpunk novel when I use it.
Comment · 2 years ago
If I were to set up a customized S&P500 (with some tweaks) and over time companies leave and/or are added to the index. Will those changes be reflected in my custom S&P500? In the months or years in the future will it buy or sell these new currently unknown companies?
Comment · 3 years ago
Not by itself! But together with other library boxy you can: https://github.com/treeform/boxy

You should use pixie to load textures, create text, rasterize vector graphic etc... and send them to boxy to be drawn every frame.

Yes Pixie is CPU only, and just like you can't use Cairo or Skea for real time games you can't use Pixie, but boxy you totally can.

Comment · 3 years ago
To be fair to Nim, only Python has the huge ML ecosystem of numpy, scipy, pandas, opencv, pytorch, tensorflow, keres... Doing ML/AI style work in anything but python is really hard!

That said Nim does have the nimpy library that allows for pretty seamless interop with python. Which means you can just import PyTorch, or scipy, or opencv and use them in Nim.

Comment · 3 years ago
I would not call std/json it "terrible in performance" probably still way faster then what you get in many other languages (like python). But yes the JSON lib I wrote is faster due to avoiding branches and allocations.
Comment · 3 years ago
Reddit was hiring for Nim positions. So demand is growing. New languages have easier time being adopted at startups which grow into big players eventually.
Comment · 3 years ago
For most of us the move from GC to Orc is pretty transparent. Most libraries just work and don't require any major restructuring.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton