I built the same PostgreSQL REST API in 6 languages — here's how the database libraries compare
https://www.reddit.com/r/programming/comments/1r9xv1x/i_built_the_same_postgresql_rest_api_in_6/
<!-- SC_OFF -->I've been building an identical CRUD API backed by PostgreSQL in six languages to compare how each ecosystem handles database access in practice. Covered: TypeScript, Python, Java, C#, Go, and Kotlin. <!-- SC_ON --> submitted by /u/davideme (https://www.reddit.com/user/davideme)
[link] (https://davideme.com/articles/crud-postgres/) [comments] (https://www.reddit.com/r/programming/comments/1r9xv1x/i_built_the_same_postgresql_rest_api_in_6/)
https://www.reddit.com/r/programming/comments/1r9xv1x/i_built_the_same_postgresql_rest_api_in_6/
<!-- SC_OFF -->I've been building an identical CRUD API backed by PostgreSQL in six languages to compare how each ecosystem handles database access in practice. Covered: TypeScript, Python, Java, C#, Go, and Kotlin. <!-- SC_ON --> submitted by /u/davideme (https://www.reddit.com/user/davideme)
[link] (https://davideme.com/articles/crud-postgres/) [comments] (https://www.reddit.com/r/programming/comments/1r9xv1x/i_built_the_same_postgresql_rest_api_in_6/)
Django ORM Standalone⁽¹⁾: Querying an existing database
https://www.reddit.com/r/programming/comments/1ra066j/django_orm_standalone%C2%B9_querying_an_existing/
submitted by /u/spirittowin (https://www.reddit.com/user/spirittowin)
[link] (https://www.paulox.net/2026/02/20/django-orm-standalone-database-inspectdb-query/) [comments] (https://www.reddit.com/r/programming/comments/1ra066j/django_orm_standalone%C2%B9_querying_an_existing/)
https://www.reddit.com/r/programming/comments/1ra066j/django_orm_standalone%C2%B9_querying_an_existing/
submitted by /u/spirittowin (https://www.reddit.com/user/spirittowin)
[link] (https://www.paulox.net/2026/02/20/django-orm-standalone-database-inspectdb-query/) [comments] (https://www.reddit.com/r/programming/comments/1ra066j/django_orm_standalone%C2%B9_querying_an_existing/)
ThunderKittens 2.0: Even Faster Kernels for Your GPUs
https://www.reddit.com/r/programming/comments/1ra32mk/thunderkittens_20_even_faster_kernels_for_your/
submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://hazyresearch.stanford.edu/blog/2026-02-19-tk-2) [comments] (https://www.reddit.com/r/programming/comments/1ra32mk/thunderkittens_20_even_faster_kernels_for_your/)
https://www.reddit.com/r/programming/comments/1ra32mk/thunderkittens_20_even_faster_kernels_for_your/
submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://hazyresearch.stanford.edu/blog/2026-02-19-tk-2) [comments] (https://www.reddit.com/r/programming/comments/1ra32mk/thunderkittens_20_even_faster_kernels_for_your/)
Snake game but every frame is a C program compiled into a snake game where each frame is a C program...
https://www.reddit.com/r/programming/comments/1ra9p5k/snake_game_but_every_frame_is_a_c_program/
<!-- SC_OFF -->Source code on GitHub (https://github.com/donno2048/snake-quine) This project demonstrates a concept called quine, or "self-reproducing program". The main problem I faced, which I guess anyone is facing when making such a program is that every print you do has to be printed by itself so at first glance you'd think the code size has to be infinite. The main trick that allows it to work abuses the fact that when strings are passed into a formatting function they are formatted only if they are passed as the first argument but not when passed through %s, so formatting "...%s" with string input of "..." will give you both a formatted version and an unformatted version of the string. So if you want a string containing "a" you can do char *f="a"; and then sprintf(buffer, f), which is obvious but then, extend the logic we described and you can get "char *f=\"achar *f=\\\"a%s\\\"\"" into the buffer by defining char *f="a%s"; and using sprintf(buffer, f, f), and you can use any formatting function not just sprintf. Another problem I faced was when I wanted to make it possible to run the program from windows, so I had to make the main formatted string way longer which I didn't want, so the trick I used was to make the first program to run unidentical to the rest as a sort of "generetor". Another small trick that I thought of for this purpose is defining #define X(...) #__VA_ARGS__, #define S(x) X(x), which together with platform specific macros I defined help make the main formatted string suitable for the platform it was preprocessed on. As a result of using a generator anything that can be generated at runtime we do not need to define for the compiler to do at compile time e.g. we can make the game's rows and cols calculated at runtime of the generator to make the C code more elegant and more importantly easier to refactor and change. The rest is a couple basic I/O tricks you can read in the code yourself as it's easier to understand that way IMO then reading without the code. <!-- SC_ON --> submitted by /u/Perfect-Highlight964 (https://www.reddit.com/user/Perfect-Highlight964)
[link] (https://youtu.be/gvF7rWfcFD8?si=PzvURvL-WofvB8UH) [comments] (https://www.reddit.com/r/programming/comments/1ra9p5k/snake_game_but_every_frame_is_a_c_program/)
https://www.reddit.com/r/programming/comments/1ra9p5k/snake_game_but_every_frame_is_a_c_program/
<!-- SC_OFF -->Source code on GitHub (https://github.com/donno2048/snake-quine) This project demonstrates a concept called quine, or "self-reproducing program". The main problem I faced, which I guess anyone is facing when making such a program is that every print you do has to be printed by itself so at first glance you'd think the code size has to be infinite. The main trick that allows it to work abuses the fact that when strings are passed into a formatting function they are formatted only if they are passed as the first argument but not when passed through %s, so formatting "...%s" with string input of "..." will give you both a formatted version and an unformatted version of the string. So if you want a string containing "a" you can do char *f="a"; and then sprintf(buffer, f), which is obvious but then, extend the logic we described and you can get "char *f=\"achar *f=\\\"a%s\\\"\"" into the buffer by defining char *f="a%s"; and using sprintf(buffer, f, f), and you can use any formatting function not just sprintf. Another problem I faced was when I wanted to make it possible to run the program from windows, so I had to make the main formatted string way longer which I didn't want, so the trick I used was to make the first program to run unidentical to the rest as a sort of "generetor". Another small trick that I thought of for this purpose is defining #define X(...) #__VA_ARGS__, #define S(x) X(x), which together with platform specific macros I defined help make the main formatted string suitable for the platform it was preprocessed on. As a result of using a generator anything that can be generated at runtime we do not need to define for the compiler to do at compile time e.g. we can make the game's rows and cols calculated at runtime of the generator to make the C code more elegant and more importantly easier to refactor and change. The rest is a couple basic I/O tricks you can read in the code yourself as it's easier to understand that way IMO then reading without the code. <!-- SC_ON --> submitted by /u/Perfect-Highlight964 (https://www.reddit.com/user/Perfect-Highlight964)
[link] (https://youtu.be/gvF7rWfcFD8?si=PzvURvL-WofvB8UH) [comments] (https://www.reddit.com/r/programming/comments/1ra9p5k/snake_game_but_every_frame_is_a_c_program/)
GraphQL: You Don't Have to Like It, But You Should Know It (Golang)
https://www.reddit.com/r/programming/comments/1raa5al/graphql_you_dont_have_to_like_it_but_you_should/
submitted by /u/huseyinbabal (https://www.reddit.com/user/huseyinbabal)
[link] (https://www.youtube.com/watch?v=cTKX3Nttq28) [comments] (https://www.reddit.com/r/programming/comments/1raa5al/graphql_you_dont_have_to_like_it_but_you_should/)
https://www.reddit.com/r/programming/comments/1raa5al/graphql_you_dont_have_to_like_it_but_you_should/
submitted by /u/huseyinbabal (https://www.reddit.com/user/huseyinbabal)
[link] (https://www.youtube.com/watch?v=cTKX3Nttq28) [comments] (https://www.reddit.com/r/programming/comments/1raa5al/graphql_you_dont_have_to_like_it_but_you_should/)
Turn Dependabot Off
https://www.reddit.com/r/programming/comments/1rabfxb/turn_dependabot_off/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://words.filippo.io/dependabot/) [comments] (https://www.reddit.com/r/programming/comments/1rabfxb/turn_dependabot_off/)
https://www.reddit.com/r/programming/comments/1rabfxb/turn_dependabot_off/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://words.filippo.io/dependabot/) [comments] (https://www.reddit.com/r/programming/comments/1rabfxb/turn_dependabot_off/)
How to Review an AUR Package
https://www.reddit.com/r/programming/comments/1rabh1n/how_to_review_an_aur_package/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://bertptrs.nl/2026/01/30/how-to-review-an-aur-package.html) [comments] (https://www.reddit.com/r/programming/comments/1rabh1n/how_to_review_an_aur_package/)
https://www.reddit.com/r/programming/comments/1rabh1n/how_to_review_an_aur_package/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://bertptrs.nl/2026/01/30/how-to-review-an-aur-package.html) [comments] (https://www.reddit.com/r/programming/comments/1rabh1n/how_to_review_an_aur_package/)
Consistency diffusion language models: Up to 14x faster, no quality loss
https://www.reddit.com/r/programming/comments/1rabhv9/consistency_diffusion_language_models_up_to_14x/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.together.ai/blog/consistency-diffusion-language-models) [comments] (https://www.reddit.com/r/programming/comments/1rabhv9/consistency_diffusion_language_models_up_to_14x/)
https://www.reddit.com/r/programming/comments/1rabhv9/consistency_diffusion_language_models_up_to_14x/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.together.ai/blog/consistency-diffusion-language-models) [comments] (https://www.reddit.com/r/programming/comments/1rabhv9/consistency_diffusion_language_models_up_to_14x/)
eBPF the Hard Way
https://www.reddit.com/r/programming/comments/1rabiaa/ebpf_the_hard_way/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://feyor.sh/blog/ebpf-the-hard-way) [comments] (https://www.reddit.com/r/programming/comments/1rabiaa/ebpf_the_hard_way/)
https://www.reddit.com/r/programming/comments/1rabiaa/ebpf_the_hard_way/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://feyor.sh/blog/ebpf-the-hard-way) [comments] (https://www.reddit.com/r/programming/comments/1rabiaa/ebpf_the_hard_way/)
Lindenmayer Systems
https://www.reddit.com/r/programming/comments/1rabikl/lindenmayer_systems/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://justinpombrio.net/2026/02/16/l-systems.html) [comments] (https://www.reddit.com/r/programming/comments/1rabikl/lindenmayer_systems/)
https://www.reddit.com/r/programming/comments/1rabikl/lindenmayer_systems/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://justinpombrio.net/2026/02/16/l-systems.html) [comments] (https://www.reddit.com/r/programming/comments/1rabikl/lindenmayer_systems/)
Everything you never wanted to know about visually-hidden
https://www.reddit.com/r/programming/comments/1rabivg/everything_you_never_wanted_to_know_about/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://dbushell.com/2026/02/20/visually-hidden/) [comments] (https://www.reddit.com/r/programming/comments/1rabivg/everything_you_never_wanted_to_know_about/)
https://www.reddit.com/r/programming/comments/1rabivg/everything_you_never_wanted_to_know_about/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://dbushell.com/2026/02/20/visually-hidden/) [comments] (https://www.reddit.com/r/programming/comments/1rabivg/everything_you_never_wanted_to_know_about/)
Web Components: The Framework-Free Renaissance
https://www.reddit.com/r/programming/comments/1rabjb1/web_components_the_frameworkfree_renaissance/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.caimito.net/en/blog/2026/02/17/web-components-the-framework-free-renaissance.html) [comments] (https://www.reddit.com/r/programming/comments/1rabjb1/web_components_the_frameworkfree_renaissance/)
https://www.reddit.com/r/programming/comments/1rabjb1/web_components_the_frameworkfree_renaissance/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://www.caimito.net/en/blog/2026/02/17/web-components-the-framework-free-renaissance.html) [comments] (https://www.reddit.com/r/programming/comments/1rabjb1/web_components_the_frameworkfree_renaissance/)
Testing Super Mario Using a Behavior Model Autonomously
https://www.reddit.com/r/programming/comments/1rabk1t/testing_super_mario_using_a_behavior_model/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://testflows.com/blog/testing-super-mario-using-a-behavior-model-autonomously-part1/) [comments] (https://www.reddit.com/r/programming/comments/1rabk1t/testing_super_mario_using_a_behavior_model/)
https://www.reddit.com/r/programming/comments/1rabk1t/testing_super_mario_using_a_behavior_model/
submitted by /u/ketralnis (https://www.reddit.com/user/ketralnis)
[link] (https://testflows.com/blog/testing-super-mario-using-a-behavior-model-autonomously-part1/) [comments] (https://www.reddit.com/r/programming/comments/1rabk1t/testing_super_mario_using_a_behavior_model/)
Understanding how databases store data on the disk
https://www.reddit.com/r/programming/comments/1ragzl5/understanding_how_databases_store_data_on_the_disk/
submitted by /u/Comfortable-Fan-580 (https://www.reddit.com/user/Comfortable-Fan-580)
[link] (https://pradyumnachippigiri.substack.com/p/how-databases-store-data-on-the-disk) [comments] (https://www.reddit.com/r/programming/comments/1ragzl5/understanding_how_databases_store_data_on_the_disk/)
https://www.reddit.com/r/programming/comments/1ragzl5/understanding_how_databases_store_data_on_the_disk/
submitted by /u/Comfortable-Fan-580 (https://www.reddit.com/user/Comfortable-Fan-580)
[link] (https://pradyumnachippigiri.substack.com/p/how-databases-store-data-on-the-disk) [comments] (https://www.reddit.com/r/programming/comments/1ragzl5/understanding_how_databases_store_data_on_the_disk/)
CSRF for Builders
https://www.reddit.com/r/programming/comments/1rajmou/csrf_for_builders/
submitted by /u/Missics (https://www.reddit.com/user/Missics)
[link] (https://www.eliranturgeman.com/2026/02/18/csrf-explained/) [comments] (https://www.reddit.com/r/programming/comments/1rajmou/csrf_for_builders/)
https://www.reddit.com/r/programming/comments/1rajmou/csrf_for_builders/
submitted by /u/Missics (https://www.reddit.com/user/Missics)
[link] (https://www.eliranturgeman.com/2026/02/18/csrf-explained/) [comments] (https://www.reddit.com/r/programming/comments/1rajmou/csrf_for_builders/)
Creator of Claude Code: "Coding is solved"
https://www.reddit.com/r/programming/comments/1rakdst/creator_of_claude_code_coding_is_solved/
<!-- SC_OFF -->Boris Cherny is the creator of Claude Code(a cli agent written in React. This is not a joke) and the responsible for the following repo that has more than 5k issues: https://github.com/anthropics/claude-code/issues Since coding is solved, I wonder why they don't just use Claude Code to investigate and solve all the issues in the Claude Code repo as soon as they pop up? Heck, I wonder why there are any issues at all if coding is solved? Who or what is making all the new bugs, gremlins? <!-- SC_ON --> submitted by /u/Gil_berth (https://www.reddit.com/user/Gil_berth)
[link] (https://www.lennysnewsletter.com/p/head-of-claude-code-what-happens) [comments] (https://www.reddit.com/r/programming/comments/1rakdst/creator_of_claude_code_coding_is_solved/)
https://www.reddit.com/r/programming/comments/1rakdst/creator_of_claude_code_coding_is_solved/
<!-- SC_OFF -->Boris Cherny is the creator of Claude Code(a cli agent written in React. This is not a joke) and the responsible for the following repo that has more than 5k issues: https://github.com/anthropics/claude-code/issues Since coding is solved, I wonder why they don't just use Claude Code to investigate and solve all the issues in the Claude Code repo as soon as they pop up? Heck, I wonder why there are any issues at all if coding is solved? Who or what is making all the new bugs, gremlins? <!-- SC_ON --> submitted by /u/Gil_berth (https://www.reddit.com/user/Gil_berth)
[link] (https://www.lennysnewsletter.com/p/head-of-claude-code-what-happens) [comments] (https://www.reddit.com/r/programming/comments/1rakdst/creator_of_claude_code_coding_is_solved/)
Don’t make the mistake of evaluating multiple counts that involve joins without using distinct=True.
https://www.reddit.com/r/programming/comments/1ramrtr/dont_make_the_mistake_of_evaluating_multiple/
<!-- SC_OFF -->Please, Django devs!! Don’t make the mistake of evaluating multiple counts that involve joins without using distinct=True.
If you count both the authors and stores for a book (2 authors and 3 stores) in a single query, Django reports 6 authors and 6 stores instead of 2 & 3!! <!-- SC_ON --> submitted by /u/natanasrat (https://www.reddit.com/user/natanasrat)
[link] (https://youtu.be/wNXSPSB0jdk) [comments] (https://www.reddit.com/r/programming/comments/1ramrtr/dont_make_the_mistake_of_evaluating_multiple/)
https://www.reddit.com/r/programming/comments/1ramrtr/dont_make_the_mistake_of_evaluating_multiple/
<!-- SC_OFF -->Please, Django devs!! Don’t make the mistake of evaluating multiple counts that involve joins without using distinct=True.
If you count both the authors and stores for a book (2 authors and 3 stores) in a single query, Django reports 6 authors and 6 stores instead of 2 & 3!! <!-- SC_ON --> submitted by /u/natanasrat (https://www.reddit.com/user/natanasrat)
[link] (https://youtu.be/wNXSPSB0jdk) [comments] (https://www.reddit.com/r/programming/comments/1ramrtr/dont_make_the_mistake_of_evaluating_multiple/)
Index, Count, Offset, Size
https://www.reddit.com/r/programming/comments/1rato8d/index_count_offset_size/
submitted by /u/matklad (https://www.reddit.com/user/matklad)
[link] (https://tigerbeetle.com/blog/2026-02-16-index-count-offset-size/) [comments] (https://www.reddit.com/r/programming/comments/1rato8d/index_count_offset_size/)
https://www.reddit.com/r/programming/comments/1rato8d/index_count_offset_size/
submitted by /u/matklad (https://www.reddit.com/user/matklad)
[link] (https://tigerbeetle.com/blog/2026-02-16-index-count-offset-size/) [comments] (https://www.reddit.com/r/programming/comments/1rato8d/index_count_offset_size/)
Do you ignore accented words in your django query
https://www.reddit.com/r/programming/comments/1rauh1u/do_you_ignore_accented_words_in_your_django_query/
<!-- SC_OFF -->Did you know that a normal search for "Helen" will usually miss names like "Hélène"? By default, icontains only matches exact characters, so accents or diacritics can make your search feel broken to users. On PostgreSQL, using the unaccent lookup fixes this: Author.objects.filter(nameunaccenticontains="Helen") Now your search finds "Helen", "Helena", and "Hélène", making your app truly international-friendly. Don't forget to include "django.contrib.postgres" in your installed apps and enable UnaccentExtension in django migrations or using SQL (CREATE EXTENSION "unaccent";) <!-- SC_ON --> submitted by /u/natanasrat (https://www.reddit.com/user/natanasrat)
[link] (https://youtu.be/54KsoooS-Og) [comments] (https://www.reddit.com/r/programming/comments/1rauh1u/do_you_ignore_accented_words_in_your_django_query/)
https://www.reddit.com/r/programming/comments/1rauh1u/do_you_ignore_accented_words_in_your_django_query/
<!-- SC_OFF -->Did you know that a normal search for "Helen" will usually miss names like "Hélène"? By default, icontains only matches exact characters, so accents or diacritics can make your search feel broken to users. On PostgreSQL, using the unaccent lookup fixes this: Author.objects.filter(nameunaccenticontains="Helen") Now your search finds "Helen", "Helena", and "Hélène", making your app truly international-friendly. Don't forget to include "django.contrib.postgres" in your installed apps and enable UnaccentExtension in django migrations or using SQL (CREATE EXTENSION "unaccent";) <!-- SC_ON --> submitted by /u/natanasrat (https://www.reddit.com/user/natanasrat)
[link] (https://youtu.be/54KsoooS-Og) [comments] (https://www.reddit.com/r/programming/comments/1rauh1u/do_you_ignore_accented_words_in_your_django_query/)
It's impossible for Rust to have sane HKT
https://www.reddit.com/r/programming/comments/1rbai5s/its_impossible_for_rust_to_have_sane_hkt/
<!-- SC_OFF -->Rust famously can't find a good way to support HKT. This is not a lack-of-effort problem. It's caused by a fundamental flaw where Rust reifies technical propositions on the same level and slot as business logic. When they are all first-class citizens at type level and are indistinguishable, things start to break. <!-- SC_ON --> submitted by /u/vspefs (https://www.reddit.com/user/vspefs)
[link] (https://vspefs.substack.com/p/its-impossible-for-rust-to-have-sane) [comments] (https://www.reddit.com/r/programming/comments/1rbai5s/its_impossible_for_rust_to_have_sane_hkt/)
https://www.reddit.com/r/programming/comments/1rbai5s/its_impossible_for_rust_to_have_sane_hkt/
<!-- SC_OFF -->Rust famously can't find a good way to support HKT. This is not a lack-of-effort problem. It's caused by a fundamental flaw where Rust reifies technical propositions on the same level and slot as business logic. When they are all first-class citizens at type level and are indistinguishable, things start to break. <!-- SC_ON --> submitted by /u/vspefs (https://www.reddit.com/user/vspefs)
[link] (https://vspefs.substack.com/p/its-impossible-for-rust-to-have-sane) [comments] (https://www.reddit.com/r/programming/comments/1rbai5s/its_impossible_for_rust_to_have_sane_hkt/)
Zero-GC and 78M samples/sec: Pushing Node.js 22 to the limit for Stateful DSP
https://www.reddit.com/r/programming/comments/1rbbvh2/zerogc_and_78m_samplessec_pushing_nodejs_22_to/
<!-- SC_OFF -->I’ve been benchmarking a hardware-aware Signal Processing library for Node.js (dspx) and found that with the right architecture, you can effectively bypass the V8 garbage collector. By implementing a zero-copy pipeline, I managed to hit 78 million samples per second on a single vCPU on AWS Lambda (1769MB RAM). Even more interesting is the memory profile: at input sizes between 212 and 220, the system shows zero or negative heap growth, resulting in deterministic p99 latencies that stay flat even under heavy load. I also focused on microsecond-level state serialization to make stateful functions (like Kalman filters) viable on ephemeral runtimes like Lambda. The deployment size is a lean 1.3MB, which keeps cold starts consistently between 170ms and 240ms. It includes a full toolkit from MFCCs and Mel-Spectrograms to adaptive filters and ICA/PCA transforms. Its single threaded by default on both the C++ and JavaScript side, so the user can multi-thread it in JavaScript using worker threads, atomics, and SharedArrayBuffers. Benchmark repository: https://github.com/A-KGeorge/dspx-benchmark Code repository: https://github.com/A-KGeorge/dspx <!-- SC_ON --> submitted by /u/sarcasm4052 (https://www.reddit.com/user/sarcasm4052)
[link] (https://github.com/A-KGeorge/dspx-benchmark/tree/main/charts) [comments] (https://www.reddit.com/r/programming/comments/1rbbvh2/zerogc_and_78m_samplessec_pushing_nodejs_22_to/)
https://www.reddit.com/r/programming/comments/1rbbvh2/zerogc_and_78m_samplessec_pushing_nodejs_22_to/
<!-- SC_OFF -->I’ve been benchmarking a hardware-aware Signal Processing library for Node.js (dspx) and found that with the right architecture, you can effectively bypass the V8 garbage collector. By implementing a zero-copy pipeline, I managed to hit 78 million samples per second on a single vCPU on AWS Lambda (1769MB RAM). Even more interesting is the memory profile: at input sizes between 212 and 220, the system shows zero or negative heap growth, resulting in deterministic p99 latencies that stay flat even under heavy load. I also focused on microsecond-level state serialization to make stateful functions (like Kalman filters) viable on ephemeral runtimes like Lambda. The deployment size is a lean 1.3MB, which keeps cold starts consistently between 170ms and 240ms. It includes a full toolkit from MFCCs and Mel-Spectrograms to adaptive filters and ICA/PCA transforms. Its single threaded by default on both the C++ and JavaScript side, so the user can multi-thread it in JavaScript using worker threads, atomics, and SharedArrayBuffers. Benchmark repository: https://github.com/A-KGeorge/dspx-benchmark Code repository: https://github.com/A-KGeorge/dspx <!-- SC_ON --> submitted by /u/sarcasm4052 (https://www.reddit.com/user/sarcasm4052)
[link] (https://github.com/A-KGeorge/dspx-benchmark/tree/main/charts) [comments] (https://www.reddit.com/r/programming/comments/1rbbvh2/zerogc_and_78m_samplessec_pushing_nodejs_22_to/)