Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
0xjnml
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
0xjnml
4mo ago
> Yeah, it breaks when the author decides to move from Github into Gitlab to protest against Microsoft. The import path is disconnected from where the build system looks for the files. Of course, the default is to use the import path as
2.
▲
by
0xjnml
5mo ago
Shameless plug: https://pkg.go.dev/modernc.org/tk9.0
3.
▲
by
0xjnml
6mo ago
The results for the 26.03 benchmark run are in. (golang) With the recent release of ncruces' drive switching from wazero to wasm2go, there have been expectations of possibly substantial improvements. Our numbers confirm this: the wasm2
4.
▲
by
0xjnml
6mo ago
CGo-free as always. See CHANGELOG.md for details. https://gitlab.com/cznic/sqlite/-/blob/master/CHANGELOG.md
5.
▲
by
0xjnml
7mo ago
> I wonder what the thought process of the Go designers was when coming up with that approach. Sometimes we need block scoped cleanup, other times we need the function one. You can turn the function scoped defer into a block scoped defer
6.
▲
by
0xjnml
8mo ago
I wrote a post exploring egg, a new tool that generates recursive descent parsers from Go-style EBNF. The most interesting feature is that it doesn't generate struct nodes; it encodes the AST into a flat []int32 slice for cache localit
7.
▲
by
0xjnml
8mo ago
See https://pkg.go.dev/modernc.org/quickjs
8.
▲
by
0xjnml
9mo ago
> If you really want an arena like behavior you could allocate a byte slice and use unsafe to cast it to literally any type. Only if the type is not a pointer per se or does not contain any inner pointers. Otherwise the garbage collector
9.
▲
by
0xjnml
11mo ago
YouTube is one such.
10.
▲
by
0xjnml
11mo ago
Documentation for the QBE IL is here: https://c9x.me/compile/doc/il.html I find it quite usable.
11.
▲
by
0xjnml
1y ago
Maintainer here, AMA.
12.
▲
Show HN: Qbecc is a C compiler producing Go(Golang) ABI0 assembler
(pkg.go.dev)
1 points
by
0xjnml
1y ago
|
0 comments
13.
▲
by
0xjnml
1y ago
You took the wrong exit, sir. This is the right way: https://en.wikipedia.org/wiki/Request_for_Comments
14.
▲
by
0xjnml
1y ago
> The page you linked compares golang bindings against each other, not C against golang like my test did No one disputed that. But it follows that your benchmarks are comparing C to [some very] outdated versions of Go packages. Which is
15.
▲
by
0xjnml
1y ago
It seems you're using some old Go package versions for your benchmarks. See https://pkg.go.dev/modernc.org/sqlite-bench#readme-tl-dr-sco... for the numbers using the more recent versions.
16.
▲
by
0xjnml
1y ago
It is transpiled from C to Go, meaning 90+% of the effort is mechanized. Ad performance. In some micro benchmarks the Go version is ~4x slower: https://gitlab.com/cznic/libquickjs/-/blob/675ee343753c42341
17.
▲
Show HN: Pure Go QuickJS JavaScript engine (Golang)
(pkg.go.dev)
5 points
by
0xjnml
1y ago
|
3 comments
18.
▲
by
0xjnml
1y ago
go.mod files have no dependencies, so neither they can have circular dependencies. go.mod files just list the dependencies of their respective package.
19.
▲
Show HN: The SQLite Drivers 25.04 Benchmarks Game (Golang)
(pkg.go.dev)
3 points
by
0xjnml
1y ago
|
0 comments
20.
▲
The SQLite Drivers 25.03 Benchmarks Game (Golang)
(pkg.go.dev)
2 points
by
0xjnml
1y ago
|
0 comments
21.
▲
Go Is DOOMed
(pkg.go.dev)
2 points
by
0xjnml
2y ago
|
0 comments
22.
▲
Tcl/Tk application binaries through Go
(wiki.tcl-lang.org)
7 points
by
0xjnml
2y ago
|
1 comments
23.
▲
by
0xjnml
2y ago
- Turn Tcl code into standalone executables - Easily cross-compile these executables for other systems
24.
▲
by
0xjnml
2y ago
Go slice is neither of that, it is a window into an array.
25.
▲
by
0xjnml
2y ago
Time spent writing code is IMO the smallest part of software engineering. Optimizations give better results when care is taken first about the most costly parts.
26.
▲
The plain TeX editor and Azure themes Golang
(pkg.go.dev)
2 points
by
0xjnml
2y ago
|
0 comments
27.
▲
VisualMD: A CGo-free WYSIWYG Markdown editor in Golang
(pkg.go.dev)
2 points
by
0xjnml
2y ago
|
2 comments
28.
▲
by
0xjnml
2y ago
Check it out! $ CGO_ENABLED=0 go install modernc.org/visualmd@latest
29.
▲
Equ: A Plain TeX Math Editor in Golang and Tk9.0
(pkg.go.dev)
3 points
by
0xjnml
2y ago
|
1 comments
30.
▲
by
0xjnml
2y ago
Check it out!
More ›