Tagged “javascript”
-
Node.js threads
Node.js is often mistakenly thought of as a single-threaded JavaScript engine. However, this is not accurate. Experienced Node.js engineers are aware of the separate libuv thread pool used for delegating synchronous a file system and a DNS utility operations out of the main thread. But, in reality, the actual number of threads is much larger. If you start Node.js you will see 10 threads alongside with main thread. -
Troubles with MP3 in Telegram
How Telegram handles MP3 files with meta information and how finally I've managed to upload it with all required data, with my art album, title and everything in 2024 using legendary TdLib from Durov's team. -
Node.js for utility scripts
From time to time I need to write at work or for my pet-project different automation scripts and every time I face a grand dilemma: what language I should use. One option is an entangled bash with dozens of constructions, which are impossible to remember. Another one is Python: quite lightweight, but some things take getting used to.
See all tags.