CommunityNews
Integer Math in JavaScript
Integer math in JavaScript | James Darpinian.
You may know that all numbers in JavaScript are 64 bit double-precision floating point values. This is sometimes convenient and it works pretty well as a default for novice programmers, who are often confused by integer math, and rightfully so when 1 / 2 = 0. Unfortunately, it makes things slow. Doubles take a lot of memory and floating point math is slower than integer math on CPUs. It’s also inconvenient if you want to port existing code to JavaScript, because existing code usually expects to use integer math.
Read in full here:
This thread was posted by one of our members via one of our news source trackers.
Popular Frontend topics
Announcing TypeScript 4.1 | TypeScript.
Today we’re proud to release TypeScript 4.1! If you’re unfamiliar with TypeScript, it’s a langua...
New
Wasmino = WASM + Arduino (Running Arduino code in browser).
Wasmino Running the “Fade” example Wasmino is an Arduino core fully compatib...
New
Deno in 2021.
Retrospect of what happened in 2021 and what’s coming in 2022
New
Pay attention to WebAssembly.
WebAssembly is at an inflection point. Over the next few years, I expect to see increased adoption of WebA...
New
Abstract
This document describes version 2.0 of the core WebAssembly standard, a safe, portable, low-level code format designed for effic...
New
The State of WebAssembly 2022.
WebAssembly has gone through quite a transformation this last year, while the wasm language landscape is ...
New
165+ JavaScript terms you need to know.
Keep this JavaScript glossary bookmarked to reference variables, methods, strings, and more.
New
The new wave of Javascript web frameworks.
Make sense of the proliferation of new Javascript web frameworks. A deep dive into the proble...
New
A Game Engine in the Elm Style!.
A ‘Nu’ way to make games! The Nu Game Engine was the world’s first practical, purely-functional game en...
New
Chrome Browser Exploitation, Part 1: Introduction to V8 and JavaScript Internals.
Web browsers, our extensive gateway to the internet. B...
New
Other popular topics
Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See f...
New
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
poll
poll
Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first:
asdf plugin-upd...
New
Author Spotlight
Jamis Buck
@jamis
This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig.
General-purpose programming language and toolchain for maintaini...
New
Jan | Rethink the Computer.
Jan turns your computer into an AI machine by running LLMs locally on your computer. It’s a privacy-focus, l...
New
Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
New
This is cool!
DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON
We just witnessed something incredible: the largest open-s...
New
React Native v0.87.0-rc.0 has been released.
Link: https://github.com/react/react-native/releases/tag/v0.87.0-rc.0
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /emacs
- /haskell
- /typescript
- /svelte
- /onivim
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /flutter
- /vscode
- /ash
- /html
- /deepseek
- /opensuse
- /zig
- /centos
- /php
- /scala
- /react-native
- /lisp
- /textmate
- /sublime-text
- /nixos
- /debian
- /agda
- /deno
- /django
- /kubuntu
- /arch-linux
- /nodejs
- /spring
- /ubuntu
- /revery
- /manjaro
- /diversity
- /julia
- /lua
- /markdown
- /quarkus









