Nim Compiling to js

2024-03-03 Thread ITwrx
I like to precompress with "gzip -9 -k asset.js" and set "gzip_static on;" in the nginx config, instead of enabling on-the-fly gzip, for security and performance reasons.

Tooling update: new version of the nimlangserver and the vscode extension

2024-03-03 Thread giaco
a simple matter, yes, but one that has been haunting all choosenim + nimsuggest users since 2019 the problem is proxyexe.nim not proxying enough

Would Nim modules or available Nim web frameworks suffice for an e-commerce back-end?

2024-03-03 Thread ITwrx
Thanks. Yes, if the difference is something on the order of 22kb vs 70kb then i totally agree. I was wondering it was more like 10x and/or didn't scale well with size of the app. I'll just have to try it out some time.

Slow image processing with pixie

2024-03-03 Thread MisterDrgn
Oh, hey, how's it going? Playing around with tpix has been an interesting first nim project. Some of the things I've learned: 1. Conversion to png is slow. It's better to transmit the raw pixel data. Even better, get rid of the alpha value first, so there's less to transmit. Oh, or are you sa

Would Nim modules or available Nim web frameworks suffice for an e-commerce back-end?

2024-03-03 Thread Araq
> I don't know about performance, but this issue with bundle size has been > brought up before, and I'm curious what your position on this criticism/point > actually is. My position is that the produced code size is just fine. Sometimes you can optimize it by using JS's native dict datatype as

Tooling update: new version of the nimlangserver and the vscode extension

2024-03-03 Thread arnetheduck
It's a simple matter of killing the process group and not just the proxies -

Tooling update: new version of the nimlangserver and the vscode extension

2024-03-03 Thread didlybom
Couldn’t choosenim on windows just create a junction to the folder containing the selected nim version binaries instead of using those problematic proxy executables?

Would Nim modules or available Nim web frameworks suffice for an e-commerce back-end?

2024-03-03 Thread ITwrx
well, after sleeping i feel i was too quick to say that. That site is very small. I would just have to play with it and see how plump it got with a real application to see if it was light enough for my tastes. It might be that it's more suited for SAAS-type apps and not for websites, but this is

Would Nim modules or available Nim web frameworks suffice for an e-commerce back-end?

2024-03-03 Thread ThomasTJdev
> Just curious: do those apps have (large) user file uploads? That is a problem using the Jester+Httpbeast with many requests. In the _early days_ , I used the nginx `upload_pass` to receive the files in a tmp-folder and then combine them. However, it didn't make sense to store and manage all th