Resizable arrays in Nim - difficulty in getting performance

2024-03-01 Thread guzba
These are good questions. I don't know the answers but am curious too.

Introduction of Dr Oz Diabetes CBD Gummies !

2024-03-01 Thread PeterRacheals
╰┈➤Official Website:- ╰┈➤Facebook Pages:- Dr Oz Diabetes CBD Gummies :Dr Oz Diabetes CBD Gummies aren't your common goodies located on the close by sweet store; they characteristic hol

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

2024-03-01 Thread giaco
would you point me to the related github issue or provide minimal example I can test with valgrind?

Resizable arrays in Nim - difficulty in getting performance

2024-03-01 Thread giaco
could you please help me understand this at higher level? What is true? 1. backend compilers fail to understand how Nim generated seq related code can be optimized up to C++ vector level. 2. backend compiler have a special "bless" for C++ vectors that Nim should mimick. 3. Nim seq implemen

Resizable arrays in Nim - difficulty in getting performance

2024-03-01 Thread sls1005
I think sequences are designed for general purpose, not for ultimate speed. And due to the additional complexity (that the size can change), it cannot be as fast as arrays. For example, it has boundary checks. To perform such a check, the program has to first load its _current_ length and then c

Resizable arrays in Nim - difficulty in getting performance

2024-03-01 Thread demotomohiro
If your code is compiled for x86_64 and SIMD instructions are used, xmm, ymm or zmm registers are used. But these registers being used doesn't means multiple data are calculated with one instruction. You can search x86 and amd64 instructions here:

Resizable arrays in Nim - difficulty in getting performance

2024-03-01 Thread AMSwift
Re: the concern about the compiler optimizing away the loop: 1. (re)checked the assembly in Godbolt. Still unsure of SIMDing, but can point to the exact instruction that adds exactly three inside the loop. The sum is also not optimized away. 2. To make doubly sure (as this is compiler-specif

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

2024-03-01 Thread ThomasTJdev
I've been following @termer's post analyzing the leaks, but I haven't encountered any problems with it myself. I have been running Jester+Httpbeast in production for a long time with heavy load, no problems at all, and no need for restarting the services, and no memory climbing. But I have cha

Resizable arrays in Nim - difficulty in getting performance

2024-03-01 Thread demotomohiro
When you use `array`, doesn't compiler calculate `sum` at compile time and remove the loop? If result of your program can be calculated at compile time as the compile knows all inputs, compiler generates a code that just print text without executing other code at runtime. Using some runtime valu

Resizable arrays in Nim - difficulty in getting performance

2024-03-01 Thread Araq
It's well known to me that `seq` disables vectorization on today's backends. While we wait for a fix, study to implement a better solution.

Resizable arrays in Nim - difficulty in getting performance

2024-03-01 Thread guzba
I think this may be a relevant GitHub issue for what you are seeing:

Resizable arrays in Nim - difficulty in getting performance

2024-03-01 Thread AMSwift
Howdy, Nim peeps! I'm a Nim newb, straight out of C (and C++) land. Loving the language syntax, starting to love the flexible memory-management, but am having difficulty getting anything like C++ speed in runtime-resizeable arrays (the equivalent of C++ std::vector). Please see the below test c

Why are let variables not gcsafe? + General Threads and GCSafe understanding help

2024-03-01 Thread Nlits
Constants are gcsafe, and vars are not for “obvious reasons”. I am currently doubting my understanding of nim threads and gcsafe. I first believed by the naming and whatnot that locks stopped a thread to make sure it was the only one that could access a global var, which suggests this is an issu

6 Myths About Peak 8 Cbd Gummies You Have To Ignore

2024-03-01 Thread Lorimabney
╰┈➤SHOP NOW:- ╰┈➤➥ Product Name: Peak 8 CBD Gummies ╰┈➤➥ Benefits: Peak 8 CBD Gummies Helps you to get rid of chronic pain & aches. ╰┈➤➥ Category: Pain Relief Supplement ╰┈➤➥ Rating: ☆ (4.5/5.0) ╰┈➤➥ Side Effects: No Major Side Effects ╰┈➤➥

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

2024-03-01 Thread alexeypetrushin
Most Nim problems originate from its Runtime. Basically, it works well only for one time run, single treaded programs. Anything else requires expert knowledge of Nim and wasting lots of time on all sort of problems. You can use Nim as: 1. Compile Nim to JS and use JS Runtime (Bun, Deno, Node)

Skin Fix Tag Remover Price, Advantage, Disadvantage, Hoax, Reviews

2024-03-01 Thread fitnesscapsu
Skin Fix Tag Remover of Maturing is an unrivaled skin recuperation salve. 75% of The dermal design of the skin is made from hydration and water, a protein that gives versatility and vigor to the skin. Structures decline considering different gathered reasons like the way toward creating, and con

Where to Buy Peak 8 CBD Gummies?;

2024-03-01 Thread BatemanMarie
╰┈➤Official Website:- ╰┈➤Facebook Pages:- Peak 8 CBD Gummies :You need to fill all of the requested info for booking your percent and whe

What Are The Dynamic Fixings Utilized In Fitness Keto?

2024-03-01 Thread fitnesscapsu
The Fitness Keto fixing is beta-hydroxybutyrate (BHB) ketones. These ketones, when conveyed into your body, will set off ketosis in your body. With this, a methodology named ketosis will start happening. The fascinating piece of this structure is that during this procedure, your body will start

Nim Compiling to js

2024-03-01 Thread enthus1ast
And you could also use one of the js minifier, google closure compiler, and also enable compression for js files in the webserver.

Nim Compiling to js

2024-03-01 Thread Araq
Compile with `-d:danger` or `-d:release`.

nimble.directory has been down for a few days now

2024-03-01 Thread enthus1ast
Systemd service? BUT it should not crash when it crashes it must be fixed!

Nim Compiling to js

2024-03-01 Thread undefined
How do I reduce the file size of the JS file produced by the compiler?

nimble.directory has been down for a few days now

2024-03-01 Thread hamidrb80
the nimble.directory is down quite often these days. Maybe running the website with commands like `retry` could help to run automatically after crash.