Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chirsz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
chirsz
1y ago
You can use hexadecimal floating-point literal format that introduced in the C language since C99[^1]. [^1]: https://cppreference.com/w/c/language/floating_constant.html For example, `0x1.2p3` represents `9.0
32.
▲
by
chirsz
1y ago
You could use Deno with WebGPU.
33.
▲
by
chirsz
2y ago
In fact, "dialect" is a political definition. Using Europe as an analogy, it is conceivable that if Rome had not disappeared, today's French language, Italian language and Spanish language would be considered dialects of Lati
34.
▲
by
chirsz
2y ago
A script that can be run as JavaScript or Lua. When run as Lua, it outputs "lua". When run as JavaScript, it outputs "js".
35.
▲
Show HN: JavaScript-Lua Polyglot
(gist.github.com)
1 points
by
chirsz
2y ago
|
2 comments
36.
▲
by
chirsz
2y ago
This remineds me of Haxe[1]. I like Wax better because of the Common-Lisp-like syntax. [1]: https://haxe.org
37.
▲
by
chirsz
3y ago
When I saw the title, I thought it is the video game Braid[1]. I really want the Anniversary Edition. [1]: http://braid-game.com
38.
▲
by
chirsz
4y ago
This immediately come to my mind: https://xkcd.com/1172/
39.
▲
by
chirsz
5y ago
Boost License has the same requiration.
40.
▲
by
chirsz
5y ago
I hope something like `ArrayBuffer` and `TypedArray` would be added to Lua, like to JavaScript.