Nim in production #2: 100k+ WebSocket connections on one small VM, lots of CPU and RAM to spare

2023-04-05 Thread curioussav
This is super encouraging to hear. I was really tempted to see if I could get away with putting some nim into production at work recently but I’m holding off for the moment. One thing I didn’t see last time I searched were nim libraries for open telemetry. If I can find the time I might try to

Anyone tried GPT-4 for Nim?

2023-04-04 Thread curioussav
I’ve been pretty impressed so far with it for nim. It’s worth a try at the least.

Returning to Nim from Python and Rust

2023-02-18 Thread curioussav
It would be nice if anyone who has knowledge on this could post links to old efforts or at least a breakdown of what is possible and what next steps could be taken. I think if there isn’t available expertise or interest at the moment in Working on this. Maybe for now improvements to the lsp sup

Possible way for easy android app creation without JAVA!

2023-02-06 Thread curioussav
Yeah, I'm aware of other languages that run on the JVM. But I don't really have a problem with Java the language. It's not Java the language that makes Android a pain.

Possible way for easy android app creation without JAVA!

2023-02-06 Thread curioussav
Cool. Yeah that nimscript file is pretty much it!

Possible way for easy android app creation without JAVA!

2023-02-05 Thread curioussav
Oh boy, this guy has all kinds of fun stuff. VR app running on meta quest in just c I may have to try replicating that one in just nim

Possible way for easy android app creation without JAVA!

2023-02-05 Thread curioussav
Hey everyone, the topic of writing android apps has come up before over the years. Goes without saying but it's a hard problem. I did just find a cool project here: and I'm wondering if this looks promising. It looks like a pretty active project so If w

Don't understand why ref is marked cyclic

2022-12-06 Thread curioussav
Ah! thank you Araq that totally makes sense.

Don't understand why ref is marked cyclic

2022-12-03 Thread curioussav
If it helps the here is a block of code from the compiler output: chUp = initLine(view, Coord(x: pLeft, y: errorUp), Coord(x: pRight, y: errorUp), style, "line") chDown = initLine(view, Coord(x: pLeft, y: errorDown),

Don't understand why ref is marked cyclic

2022-12-03 Thread curioussav
So I have code that looks like this: let myobj = objectFactory() # returns ref object myseq = @[myobj] Run When checking the containing method with expandArc I see that `nimMarkCyclic` is called on the variable. This object is moved to another thread and the ORC c

How to determine why shared lib is linked

2022-07-24 Thread curioussav
Changing that did remove the link but my apk just crashes now when trying to load the .so

How to determine why shared lib is linked

2022-07-23 Thread curioussav
So in termux my program is compiling and linking to libandroid-glob.so which is providing the glob function. But my purpose was to use the result shared lib in an apk. I’m doing this because I’ve been unable to get cross compiling to work on my m1 Mac. I used a tool to inspect the symbols in my