Live data from Hacker News

Ask HN: Why are you programming your hobby projects in a niche language?

news.ycombinator.com

81–90 of 172 posts

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#81

If you like racket try out bigloo https://www-sop.inria.fr/mimosa/fp/Bigloo/ and gerbil scheme at cons.io Erlang has been my favorite for over a decade. Feels like its own operating system: spawn many processes, kill/pause them, send/receive messages async no problem, add service introspection. It feels kubernetes/microservices architecture way before its time, except without the cgroups constraints or language optio…

I’ve had my eye on gerbil since it was announced. I’m very interested in it’s goals

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#82

I enjoy cleanly organizing code more than getting things done. I can't help it.

Also managing to give 5 temporary variables names of the same length makes for a day well spent.

I'm guilty of spending hours of paid time laboring over pedantically correct variable and function names. Often, old dictionaries are involved, archaic words...

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#83
I've been enjoying learning some new niche languages over the past year, Nim and V, using my favorite types of hobby projects to do so.

I started learning Nim a few years ago, and came back to it last year after seeing it had improved in a number of areas. I started working on a practical utility, a self-contained document uploader system that could be customized for certain departments at work. Eg, take a Word document, convert it to PDF, upload to a specific location on our company website. Not truly a hobby project, but no one asked me for it, just playing with an idea I came up with based on frequent help desk tickets I get. I guess one of my hobbies is inventing programs that someone might find useful, without having an actual target audience. 8]

Since then I have written a handful of graphics programs in Nim which are more in my hobby area. I wrote a nice version of the Reaction Diffusion simulation that generates fascinating tile patterns and naturalistic forms. I also plan to make a version of Pickover popcorn.

More recently I started working with the V programming language and have been playing with the Mandelbrot example they provide. I added a 256-color palette, higher iteration options for more detailed images, and am working on a system to create a catalog of favorite points and images. It will also save and load simple text files describing a particular point and zoom level that people could share in a chat or text message. This kind of thing has all been done before, but these are just exercises in fundamental aspects of the language to help me learn the basics and determine if it's worth pursuing it further.

I am playing with these languages particularly because they make smallish executable programs that can be easily distributed. I'm working up to developing simple GUI CRUDs with them to see how practical the process is. I'm still looking for something that will replace what I used to do with Delphi.

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#84
I 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/) if curious.

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#85
I usually do it to try out a new language that has my interest to see if it's worth considering for a serious effort, or trying to find employment in it.

Sometimes the language ends up really growing. I did that with Elixir very early on, and now Elixir is a solid choice for new dev even for a company. It's still a little bit niche, but I think it's just at the beginning of major growth. Frameworks like Phoenix and Nerves already make it great, but with first-class machine learning libraries coming and LiveBook, it's headed toward being seriously attractive even for later adopters.

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#86
I think this is a really common thing to do. Many of us need to use Python, Java, etc. at work and it is fun to use other languages. BTW, even though my preferred hacking language is Common Lisp, I also enjoy batteries included Racket and I have some of the examples from my Common Lisp book (https://leanpub.com/u/markwatson), including my knowledge graph navigator, implemented in Racket. I have thought of writing a Racket book, but I will probably not get around to it because I have been enjoying Apple’s machine learning support for Swift and I am half way done writing a book on Swift and CoreML.

Using different programming languages is mind expanding.

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#88
post #82

Earlier quoted context omitted.

Also managing to give 5 temporary variables names of the same length makes for a day well spent.

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?

#90
post #48

I 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…

Common Lisp has had compile time regexes for well over a decade.
Post reply on HN