News for hackers. Stuff that matters.
Re:Nim 1.6 by guggle on Tuesday October 19, 2021 @09:18AM (#28917749)
What's the state on:

- web frameworks / servers ? (ie. is there something like Sanic that is actively maintained ?) I imagine it's too early for a consensus.

- database drivers ? (postgresql is important here. I can live without an ORM)

Re:Nim 1.6 by dom96 on Tuesday October 19, 2021 @10:13AM (#28918286)
There is plenty of web frameworks and servers, each with differing maintenance levels. You can for example check out Jester[1] and HttpBeast[2] (shameless plug, I wrote these :)).

1 - https://github.com/dom96/jester

1 - https://github.com/dom96/httpbeast

Re:Nim 1.6 by guggle on Tuesday October 19, 2021 @11:22AM (#28919076)
Thanks !

I see jesper's Request has its body as a string. How would you manage (very) large request body ?

Re:Nim 1.6 by moigagoo on Tuesday October 19, 2021 @11:59AM (#28919601)
In the ORM field, Norm[1] is an actively maintained package that supports SQLite and Postgres (shameless plug). It's framework agnostic, I've used it with Jester and Prologue (it had nothing to do with Prolog btw).

Among frameworks, Prologue is the most actively developed and feature rich.

[1] https://norm.nim.town

Re:Nim 1.6 by Arch-TK on Wednesday October 20, 2021 @12:44PM (#28932857)
Why use an ORM when you can just not turn everything into objects?