Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
AGDNoob
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
AGDNoob
7mo ago
Built this because every image optimizer I found was either slow, bloated, or a subscription. Squish takes a folder of images, compresses them, done. ~4400 lines of C++, no dependencies, custom JPEG encoder with AVX2 (scalar fallback for ol
2.
▲
Show HN: Squish, a Single-binary bulk image optimizer in C++20 with AVX2 SIMD
(github.com)
1 points
by
AGDNoob
7mo ago
|
0 comments
3.
▲
by
AGDNoob
7mo ago
Hey, I made this because I kept waiting forever when parsing server logs at work. Tried a few tools, they were all slow as hell, so I figured I'd see how fast I could get it.Turns out if you skip the usual file reading stuff and just m
4.
▲
Show HN: FastLog: 1.4 GB/s text file analyzer with AVX2 SIMD
(github.com)
5 points
by
AGDNoob
7mo ago
|
1 comments
5.
▲
by
AGDNoob
8mo ago
Thanks, that's fair criticism. You're right about the while-loop thing, that code was very naive and did break with nesting. I actually ran into exactly the pain you described and ended up fixing it the hard way. It was one of the
6.
▲
by
AGDNoob
8mo ago
Yes, I used AI during development. I treated it as an assistant for explanations, brainstorming, and occasional small code snippets. The language design, compiler architecture, semantics, and the majority of the implementation were written
7.
▲
by
AGDNoob
8mo ago
I totally agree. "Python-like" was a bad choice of words on my part. I meant it more in terms of learning curve and explicitness, not the surface syntax. Structurally its more like C/Rust and I should have said that from the
8.
▲
by
AGDNoob
8mo ago
Right now there’s intentionally no stdlib, so yes, printing would ultimately boil down to a direct write syscall. The idea is that the core language stays as thin as possible and anything higher level lives on top of that, either as compile
9.
▲
by
AGDNoob
8mo ago
Yeah, that’s fair. Conceptually it’s not that hard if you’re willing to do a proper preprocess pass and generate INDENT and DEDENT tokens. For this first version I mostly optimized for not shooting myself in the foot, braces gave me very ex
10.
▲
by
AGDNoob
8mo ago
Yeah braces made the parser way simpler for a first attempt. Significant whitespace is on the maybe-list but honestly seems scary to implement correctly
11.
▲
by
AGDNoob
8mo ago
Yeah that's fair. It's got "fn main()", types like "i32", and uses braces. More Rust-like than Python to be honest. The "Python-like" part is mostly wishful thinking about readability. Should've
12.
▲
by
AGDNoob
8mo ago
I built AXIS as a learning project in compiler design. It compiles directly to x86-64 machine code without LLVM, has zero runtime dependencies (no libc, direct syscalls), and uses Python-like syntax. Currently Linux-only, ~1500 lines of Pyt
13.
▲
Show HN: Axis – A systems programming language with Python syntax
(github.com)
14 points
by
AGDNoob
8mo ago
|
26 comments