#GHC s #wasm backend,native uses the native bignum backend and the wasm native #codegen Compared to the #gmp flavour, the run-time performance may be slightly worse if the workload involves big Integer operations. May be useful if you are compiling proprietary projects and have concerns about statically linking the #LGPL-licensed gmp library.
Besides wasm MVP, certain extensions are used. The feature flags are enabled globally in our wasi-sdk build, passed at GHC configure time, and the wasm NCG may make use of the features. The rationale of post-MVP wasm feature inclusion:
Non-browser non-JavaScript runtimes

wasmtime
wasmedge
toywasm
wasmi

Non-browser #JavaScript runtimes

node, using the builtin wasi module to provide WASI implementation
bun, using the builtin WASI implementation
deno, using a legacy WASI implementation in std
#browsers

WASI spec includes certain syscalls that are provided as the wasi_snapshot_preview1 wasm imports. Additionally, the current WASI ABI specifies two different kinds of WASI modules: commands and reactors.
When linking a program for almost any platform out there, the linker needs to handle ctors(constructors) & dtors(destructors). ctors and dtors are special functions that need to be invoked to correctly initialize/finalize certain runtime state. Even if the user program doesn't use ctors/dtors, as long as the program links to libc, ctors/dtors will need to be handled.

Add --export flag for malloc/free. You can now allocate and free linear memory buffers that can be visible to the Haskell world, since the entire linear memory is available as the memory export.
In the #Haskell world,
https://github.com/palas/ghc-wasm-meta

GitHub - palas/ghc-wasm-meta: Fork of `haskell-wasm/ghc-wasm-meta` (from here: https://gitlab.haskell.org/haskell-wasm/ghc-wasm-meta)

Fork of `haskell-wasm/ghc-wasm-meta` (from here: https://gitlab.haskell.org/haskell-wasm/ghc-wasm-meta) - palas/ghc-wasm-meta

GitHub

After doing a bit of investigation, I've come to the conclusion that neither Deno nor Bun are acceptable runtime alternatives for packaging Node.js apps into executables. Both repositories also are heavily reliant on LLM bots that write code for them (especially Bun) and I don't suspect the quality for either of the projects to get better. This means I'll have to migrate Cakelandish off of Deno to something else eventually, sigh.

Wondering if anyone here has tried the experimental executable application feature of Node.js here? https://nodejs.org/api/single-executable-applications.html

Alternatively, there is a maintained fork of pkg here: https://github.com/yao-pkg/pkg

Anyone tried using these or other alternatives and can comment on the stability levels of them?

#javascript

Single executable applications | Node.js v25.9.0 Documentation

How #Axios Is Used

axios is typically found as a direct or transitive dependency in:

Frontend frameworks: #React, #Vue, #Angular projects
Backend frameworks: #Express, #Nextjs, #NestJS applications
#AWS #SDKs: The AWS SDK for #JavaScript uses axios
#GitHub Actions: Popular actions like slack-github-action (used by 23,000+ public repositories) depend on axios
Build tools and CI/CD: Countless development pipelines
Enterprise applications: Any project making HTTP requests

Quick React win: move static object/array props outside the component or wrap with useMemo(). Inline literals create a new reference on every render — silently breaking React.memo() and useCallback(). Three lines of refactor, real perf difference in large trees.

#React #JavaScript #webdev #frontend #buildinpublic

#JavaScript library used to make asynchronous HTTP requests from browsers and #Nodejs environments

#cyber #axios #javascript #SUCKS !!!!
STOP USING #JAVASCRIPT !!!!
https://thehackernews.com/2026/03/axios-supply-chain-attack-pushes-cross.html

Axios Supply Chain Attack Pushes Cross-Platform RAT via Compromised npm Account

Axios 1.14.1 and 0.30.4 injected malicious [email protected] after npm compromise on March 31, 2026, deploying cross-platform RAT malware.

The Hacker News

Анатомия чистильщика ссылок: как не сломать веб в Manifest V3

Каждый день мы делимся ссылками в мессенджерах, копируем их из браузера или кликаем по ним. И почти всегда к реальному адресу прилипает хвост из UTM-меток, fbclid , gclid и прочего мусора, которым маркетологи и платформы помечают наш трафик. Создать расширение, которое отрезает этот хвост с помощью регулярного выражения — задача на 10 минут. Но сделать так, чтобы это расширение не сломало работу сайтов, не убило поисковики и не вызвало бесконечные циклы переадресации в современных реалиях Manifest V3 — уже интереснее. Недавно я завершил работу над расширением ZeroTail и хочу поделиться несколькими неочевидными подводными камнями, с которыми столкнулся при реализации авто-очистки URL.

https://habr.com/ru/articles/1019334/

#javascript #расширения #manifest v3 #utmметки #service_worker #chrome_extension

Je remet le lien vers cet article :

« Logical assignment operators in JavaScript: small syntax, big wins »

https://allthingssmitty.com/2025/07/28/logical-assignment-operators-in-javascript-small-syntax-big-wins/

Utilisation des opérateurs logiques plutôt maline, que j'ai trouvée un peu « too much » au début mais qui finalement fait son bonhomme de chemin dans la tête.

Je m'en sers de plus en plus souvent.

#javascript #code

Logical assignment operators in JavaScript: small syntax, big wins - Matt Smith

Logical assignment operators streamline conditional assignments in JavaScript, making your code cleaner, safer, and easier to read.

JavaScript for Everyone: Destructuring | CSS-Tricks

Mat Marquis and Andy Bell have released JavaScript for Everyone, an online course offered exclusively at Piccalilli. This post is an excerpt from the course taken specifically from a chapter all about JavaScript destructuring.

CSS-Tricks
🔬🧪 Ah, the groundbreaking #discovery of how cells throw a temper tantrum! But wait, before you get to the part where science saves the world, you need to enable cookies, because apparently, even cellular biology requires a sweet tooth and a #JavaScript diploma these days. 🍪📜
https://news.stanford.edu/stories/2026/03/immune-response-inside-cells-inflammation-research #cellbiology #sciencecookies #tempertantrum #HackerNews #ngated
Scientists capture how cells trigger inflammation

SLAC scientists observed an immune signaling complex forming inside cells for the first time, revealing insights that could guide new treatments.

I also enjoyed the technical part of creating this. With LLM help, calced got a python implementation with a nice CLI interface and JS version with a proper web UI. Both of them
- read the same syntax
- have no dependencies
- are contained in a single file (just download and run)

See this blog post for some thoughts on the process:
https://www.karl.berlin/simplicity-by-llm.html

#blog #python #javascript #llm #simplicity

Can We Make Simpler Software With LLMs?

×