4 ms·
I will try to do it with F# and Gleam this year, but like every year I won’t have time (and brain) to do more than 10/12 days ^^ For the pythonists around here
by ducdetronquito 2y ago
I will try to do it with F# and Gleam this year, but like every year I won’t have time (and brain) to do more than 10/12 days ^^
For the pythonists around here, give F# a try: it can feels very close to scripting and it has a wonderful REPL too :)
- andrelaszlo 2y agoHow's linux support? :)
- neonsunset 2y agoIf almost 9 years were not enough to make this question seem silly, perhaps DuckDuckGo/Kagi/Perplexity could answer this?
- plagiarist 2y agoSure those can answer it. That person is perhaps trying to be social on a social network by inviting comments instead?
- neonsunset 2y agoThis specific question posed in this specific way usually implies a negative interaction. I have seen maybe one exception here so far. And after providing detailed answers for so many times, I don't think it's worth it.
- samatman 2y agoYou guaranteed it would be a negative interaction when you negatively interacted with the post. You're allowed to skip the ones you don't want to reply to.
- davidgl 2y agoPerfect, run loads of f# and c# on Linux, and have for years
- ducdetronquito 2y agoWorks like a charm for me with Ubuntu 24.04/VSCode/Ionide (F# extension) ! For AoC I don't use a real project setup, just a `dayX.fsx` file and I run it like a script with `dotnet fsi dayX.fsx`, et voilà :)
- axpy906 2y agoI am doing it in bash. Will see how far I can go!
- thaliaarchi 2y agoI'm continuing my tradition of doing AoC in Whitespace[0]. The first year I did it, it was motivation to build out a standard library so things wouldn't be so tedious. Now, I find myself wishing I had finished better tooling. I debug with wsjq[1], a CLI debugger like gdb written in jq, but it's slow. [0]: https://github.com/thaliaarchi/ws-challenges https://github.com/thaliaarchi/ws-challenges [1]: https://github.com/thaliaarchi/wsjq https://github.com/thaliaarchi/wsjq
- ssernikk 2y agoI've done last two AoCs in F# (well, only the first few days too). For a person without prior functional programming experience, it was fun! Unfortunately I won't have time to participate this year, but if I did, I'd probably chose F# again.
- codeconscious 2y agoNice. I've started picking up F# too and am trying AoC with it this year. I'm still early in my functional journey, but I think AoC has been helpful thus far.