I did the licensing server for Lunar ( https://lunar.fyi/ ) in Crystal. It’s been a joy to work with it! The standard library for working with strings, JSON, YAML and XML is top notch. Type safe and extremely fast, very important characteristics for a licensing server that is queried hundreds of times a second. I used the super simple Kemal HTTP server library which I like for APIs where most of the logic happens on…
Ask HN: Why are you programming your hobby projects in a niche language?
111–120 of 172 posts
Re: Ask HN: Why are you programming your hobby projects in a niche language?
#112I often feel like my primary language, c++, is somewhere between niche and mainstream. It leaves ample opportunities to do something in a niche way. I am often disenchanted after reading many open-source, ostensibly high-quality c++ libraries — namely Apple’s WebKit and a few parts of Google’s Filament. That said, there are a few gems of c++ that I can’t describe as anything but archetypally niche. Nlohhman’s JSON li…
Re: Ask HN: Why are you programming your hobby projects in a niche language?
#113I enjoy writing code with Agda. I like writing APIs that can't be used incorrectly and dependent types are so much more powerful that anything I knew before. Also unicode/custom mixfix operators (if_then_else_) are fun to use. Other languages I've seen just can't offer these things. Probably it is not the best choice to create something you want to run as its ecosystem is not quite developed though, but I also like t…
Re: Ask HN: Why are you programming your hobby projects in a niche language?
#114Earlier quoted context omitted.
Would you mind expanding on why you regret it?
It's nothing specific about Elixir itself, it's just that I don't use it for literally anything else (nor do I see that changing). So, for me, it's just another tech stack to keep up with when I could have just stuck with the tech stacks I already know and work just fine. I still think Elixir/Phoenix/LiveView are great technologies, but I don't think they offer me anything professionally that the current stuff doesn'…
Re: Ask HN: Why are you programming your hobby projects in a niche language?
#115I guess it's not niche anymore (was it ever?) but I'm coding my hobby projects in Rust. I don't get to use the language at my $dayjob but I find it aligns with my personal opinions on how a native language should be, and it pushes me in interesting ways to learn better idioms to write safe code. Also, does it count if I'm writing a niche language as my side project? :-) Check out EndBASIC ( https://www.endbasic.dev/…
Re: Ask HN: Why are you programming your hobby projects in a niche language?
#116My hobby project is a niche language.
Just curious: what’s your niche language called?
Re: Ask HN: Why are you programming your hobby projects in a niche language?
#117Think of hybrid Pascal + Python, pretty nice standard library, can be compiled into an executable.
As much as I admire functional programming, my brain still mostly think in procedural.
Re: Ask HN: Why are you programming your hobby projects in a niche language?
#118Earlier quoted context omitted.
I'm guilty of spending hours of paid time laboring over pedantically correct variable and function names. Often, old dictionaries are involved, archaic words...
Are you the person who came up with the "delenda" tables at one of my old jobs?
Re: Ask HN: Why are you programming your hobby projects in a niche language?
#119I.. don't love it. I often am using the ! operater to say "yes, I'm sure there will be an object here" in an array and having to get too particular with type specification (i.e. for keys in a map). I'm not sure it adds all that much value to my project.
Re: Ask HN: Why are you programming your hobby projects in a niche language?
#120Nine years ago I started my hobby project in Go (round about when v1.0 came out). I thought the language looked interesting, kind of like C without the hard parts and with the added benefits of concurrency and I was excited to learn it despite no-one having heard of it. 9 years later Go is not such a niche language. Rclone is doing ok too :-)
I was happy to find that with Go, I can target my low-end NAS, which runs a Marvell Armada CPU. The binaries run just fine. (If this is easy with other compiled languages, let me know. Maybe gcc?)