Nim interop with other languages

2023-03-27 Thread arnetheduck
We're documenting a few things we've come across the years when making Nim interact with other languages: \- the PR will grow a bit more over the coming weeks so see it as a preview. Although Nim is easiest to consume from Nim, we often fin

My Nim Development Weekly Report (3/26)

2023-03-27 Thread ringabout
> One big question though, when can we expect the full release of Nim 2.0 > When some critical regressions and > [showstopper](https://github.com/nim-lang/Nim/issues?q=is%3Aissue+is%3Aopen+label%3AShowstopper) > issues are fixed.

Why Svelte is far superior than React (Karax)

2023-03-27 Thread ringabout
> I remember things like iterators were not properly supported in the > javascript backend, and nclearseam needed to use features like this. Speaking of which, someone might try to port [enable lambda-lifting for the JavaScript target](https://github.com/nim-works/nimskull/pull/586). It seems f

Using Socket for File Transfer

2023-03-27 Thread Naterlarsen
Thank you for helping. I really appreciate it.

Using Socket for File Transfer

2023-03-27 Thread gs
Hi @Naterlarsen somehow i don't know why i am writing... In the last trheads you worked on a client server tool. And it seems to work... This code has errors in the basic handling of the sockets... let (client_socket, _) = server.accept() Run Is this even nim? You kno

could not load: libcrypto.so.1.1 (compile with -d:nimDebugDlOpen for more information)

2023-03-27 Thread Will7
When I type nimble in the terminal or I try to open a database with db_sqlite I get the title message, who can help me, I appreciate it.

Why Svelte is far superior than React (Karax)

2023-03-27 Thread mildred
For those interested in my nclearseam project linked above, I haven't touched in a while and I don't plan to improve it any further for now. I stopped mostly because the javascript backend for the Nim compiler is not good enough. I remember things like iterators were not properly supported in th

Using Socket for File Transfer

2023-03-27 Thread Stefan_Salewski
Here is another example, maybe closer to your desire:

My Nim Development Weekly Report (3/26)

2023-03-27 Thread treeform
Ringabout, thank you for all of their hard work and for keeping us updated! Your efforts are truly appreciated. I'm really excited about this week's developments. It looks like we've got two things that I'm particularly interested in: I'm thrilled to see that the system.any bug that I reported

My Nim Development Weekly Report (3/26)

2023-03-27 Thread ringabout
## Progress ### fixes the documentation of typeclasses [closes #21536; fixes manual](https://github.com/nim-lang/Nim/pull/21552). The parser has been changed, now you need to use `type RecordType = (tuple or object)` ro declare types classes starting with tuple or object instead of `type Recor

Ttop - System monitoring service tool with tui and historical data

2023-03-27 Thread inv2004
Was trying, but looks like it is not trivial

Using Socket for File Transfer

2023-03-27 Thread Naterlarsen
Essentially I’m just trying to get some simple examples of a file transfer in nim. Reading the file and send. Then receiving the file and write to disk.

Must add array quick assignment init method

2023-03-27 Thread Angluca
Macro looks like so cool !!

Using Socket for File Transfer

2023-03-27 Thread Stefan_Salewski
I do not really understand your concrete question. I think the fundamental file transfer example was from the beginning the async chat server, which was described in some detail in the Picheta book, and partly in the Nim API docs. I don't remember details, but I think this example is very simila