Post AV5A2cFEBwbhNepaHA by alfredbaudisch@mastodon.gamedev.place
 (DIR) More posts by alfredbaudisch@mastodon.gamedev.place
 (DIR) Post #AV5A2cFEBwbhNepaHA by alfredbaudisch@mastodon.gamedev.place
       2023-04-27T13:53:28Z
       
       0 likes, 0 repeats
       
       And... I adopted the Nim lang officialy into work! https://nim-lang.org/For Bash tasks, using NimScript.So far I always added tasks to our Elixir monolithic app, but it always required making a new deployment and starting a new Heroku console instance which always start a new pool of DB connections (fake it till you make it!).Or I'd write plain Bash scripts.There's no way to always avoid plugging into the Elixir code, but for others, I'll keep using Nim from now on. #Nim #NimLang
       
 (DIR) Post #AV5A2d9aoNh4CTCb8C by alfredbaudisch@mastodon.gamedev.place
       2023-04-27T13:55:46Z
       
       0 likes, 0 repeats
       
       And I am my own code reviewer and I control the backend, so I can take these decisions and do this kind of stuff freely 😍
       
 (DIR) Post #AV5A2doiLUaSG0RRE8 by louis@emacs.ch
       2023-04-27T16:03:55Z
       
       0 likes, 0 repeats
       
       @alfredbaudisch Interesting! Do you use Postgres with Nim? And perhaps a web backend framework?
       
 (DIR) Post #AV6deIl6BDWhmM1KEq by alfredbaudisch@mastodon.gamedev.place
       2023-04-28T09:10:22Z
       
       0 likes, 0 repeats
       
       @louis Nim is being used only for Bash scripts, it won't be used in the application itself. So I won't do any kind of PgSQL connection with it.
       
 (DIR) Post #AV6qdCB6SYoiU4zEXo by alfredbaudisch@mastodon.gamedev.place
       2023-04-28T11:35:52Z
       
       0 likes, 0 repeats
       
       @louis do you recommend any Nim web framework?
       
 (DIR) Post #AV6v5SePCxPjUwQUBE by louis@emacs.ch
       2023-04-28T12:25:48Z
       
       0 likes, 0 repeats
       
       @alfredbaudisch I only played around a bit with Nim. The library ecosystem regarding Postgres and Web is pale. There is a lot going on but it is still far behind more mature languages.Also I found that the compiler messages are sometime unreadable. Very hard to debug and find the underlying problem.I hope Nim will grow over time. But for the moment I have not continued to work with it.
       
 (DIR) Post #AV6yKZDFOPYG3WcMTo by alfredbaudisch@mastodon.gamedev.place
       2023-04-28T13:02:09Z
       
       0 likes, 0 repeats
       
       @louis compared to Rust and Zig, the compiler messages from Nim are indeed a nightmare, that's why I also don't want to use it further than bash scripts.