HNHacker News
TopNewBestAskShowJobs

Archit3ch

561 karma · joined February 22, 2019

archit3ch@gmail.com
submissionscomments
Archit3ch··on Kimi K3 just fixed 15 critical security bugs that Codex and Fable refused
Mixed feelings. Good for the defenders, also good for the attackers.

If Chinese models are distilled from Fable, does it mean that security questions will be answered at most to a level equivalent to the Opus fallback? Meanwhile the ~150 companies with access to Mythos have greater security capabilities. Assuming the Chinese models are not distilling Mythos.

Archit3ch··on UnifiedIR for Julia
1. iOS doesn't allow JIT for apps distributed through the App Store. However, WASM (including JIT) is allowed. Effectively, this would allow Julia to run on i(Pad)OS.

2. Technically, one could port the Julia compiler itself to WasmGC and get full REPL/eval semantics. However, App Store Guideline 2.5.2 states "Apps [...] nor may they download, install, or execute code which introduces or changes features or functionality of the app, including other apps.". It's not clear if this only applies to downloaded code or also local code (e.g. a playground app). If you attempt it, there is a good chance Apple will update their guidelines specifically to ban it. :P

Archit3ch··on UnifiedIR for Julia
> 2. We will be targeting WasmGC in the near future, so we need our core runtime and compiler data structures to be compilable without the assumption of necessarily having linear memory available.

Big if true. Does that mean we'll get a no-alloc iOS backend?

Archit3ch··on Scrying the AMD GFX1250 LLVM Tea Leaves
I'm very interested in your use case.

I looked into bit-slicing techniques, but they increase throughput at the cost of massive latency. This is not acceptable for realtime audio.

Archit3ch··on What I learned selling 2,500 MIDI recorders: Hardware is not so hard
Having too many orders is a good problem to have (unless it gets cloned). Worst case, you pay an external contractor to sort compliance/fulfillment/whatever.
Archit3ch··on What I learned selling 2,500 MIDI recorders: Hardware is not so hard
"Do things that don't scale!" is standard founder advice for a reason. The fact that no one else has put in the work means you get to sell $150 MIDI recorders... for a while. Which, fair enough, might just sustain a one-person business.
Archit3ch··on What I learned selling 2,500 MIDI recorders: Hardware is not so hard
I can't wait for ASIC manufacturing to become as easy as ordering a PCB.
Archit3ch··on Qwen 3.8
Obligatory "Does it answer security questions?".
Archit3ch··on Show HN: Getting GLM 5.2 running on my slow computer
With so many people implementing their own SSD streaming for specific combinations of model+hardware, maybe we should look into upstreaming to antirez/ds4 or llama.cpp...
Archit3ch··on Show HN: Getting GLM 5.2 running on my slow computer
You can keep the KV cache in (possibly Unified) RAM to avoid SSD writes entirely. Not sure if it would fit on a 32GB laptop, though.
Archit3ch··on Show HN: Getting GLM 5.2 running on my slow computer
Working on something similar targeting macOS on Apple Silicon, Unsloth split GGUF, compressed partial residency in unified memory (would make more sense on 128GB instead of my 64GB...), native Metal kernels, and RAM-only native compressed KV. Happy to put on GitHub when it's ready.
Archit3ch··on Muse Spark 1.1
At this point comparing to Gemini is a free Bingo space.
Archit3ch··on Just Pay the Subscription
As a developer, subscriptions come with a few problems:

- Users cannot open their old projects unless they pay the subscription.

- Lower uptake in general, which affects viral adoption ("my friends use this software, so will I"). This is important if you rely on word-of-mouth instead of ad spend.

- Need to keep shipping features to justify the subscription cost. There is less focus on stability/maintenance.

Archit3ch··on The LLVM Compiler Infrastructure
For developer productivity, you can move to a REPL workflow with edit-compile-test at the function level. Julia does this while staying on LLVM.

Of course, compile-the-world is still going to be slow, but there is no solution for that in the C++/Rust ecosystems either.

Archit3ch··on Cursed circuits #5: capacitance multiplier
Is it possible to create an audio-grade capacitance multiplier in CMOS?
Archit3ch··on Python 3.14 compiled to metal – no interpreter
Surely this will succeed where $4B Modular failed!
Archit3ch··on Python 3.14 compiled to metal – no interpreter
> A subset of python is python.

Mojo folks (rightly) disagree.

Archit3ch··on Why low-latency Java still requires discipline?
> If low latency is your goal than you don't want JIT.

To be more specific, you don't want Java-style-JIT. Julia JIT (which functions closer to AOT in this case) is fine for low latency.

Archit3ch··on 24-bit/192kHz music downloads and why they make no sense (2012)
I'm travelling without my Zen 4 machine, or I could test it. ;) Oh well, Compiler Explorer is enough to look at these microbenchmarks on your own.

These simulations are single core to avoid core-to-core latency. Number of cores isn't relevant unless you want to run independent voices/channels and sum them at the end.

So you start with a very optimistic ~90 GFLOPs of 64-bit FMA on Zen 4. Unfortunately, not all operations are clean multiply-adds. Realistically, you'll need trigonometric functions and LUTs, which are quite slower. Btw, the tradeoff between when to compute vs LUT is very fragile and can change due to a ton of factors (notably integrator algorithm).

Then the data you are operating on won't fit cleanly in AVX-512 registers, requiring spills to L1 cache. Ok, still fast on a modern core.

Of course, the peak theoretical number assumes clean vectorization with double-pumped AVX-512... which also won't happen in practice. Classical DSP will fare better (https://www.youtube.com/watch?v=Ssq0a-YdamM) but SPICE integrators are inherently branchy and divergent. Especially for adaptive integrators, you'll waste a lot of operations trying to "lock in" at the exact time point where the waveform turns a corner. Apple Silicon is better at this messy, branchy code.

So yeah, it's possible-but-hard to hit hard-realtime under these conditions.

Archit3ch··on It Still Can't Do My Job: Four Years of Moving Goalposts (2022–2026)
> Call me when it stops making things up.

We are here.

Yes, it can still produce value.

Archit3ch··on crustc: entirety of `rustc`, translated to C
Sure, that works. Caveats:

1. Your frontend needs to support emitting WASM. Ok for Rust, not for every language out there.

2. 2x-4x performance overhead.

Archit3ch··on crustc: entirety of `rustc`, translated to C
If I understand this correctly, you could run this compiler on iPadOS (since it's plain C). But you cannot mark it's output executable, since that would require JIT entitlement.
Archit3ch··on 24-bit/192kHz music downloads and why they make no sense (2012)
> I think given how fast computers have become relative to digital audio there is probably a good case to just make any "modular synth" run at 32-bit 480KHz or even 4.8MHz through every stage that could process the audio.

1. It should run at FP64 if you want to preserve filter resonances, etc.

2. At 10x/100x fixed-rate oversampling, even a modern "fast" CPU will have very few cycles per (higher-rate) sample to run the DSP for 1 "module" of the software modular. Forget about interconnected modules, multiple tracks, or polyphony. For this kind of "analog"-style processing, it's better to run adaptive-rate algorithms (think SPICE) instead of wasting compute on unnecessary extra audio samples.

Archit3ch··on 24-bit/192kHz music downloads and why they make no sense (2012)
> the following audio processing is better done after converting the samples to FP32

Or, in some cases, FP64.

Archit3ch··on M5 CardputerZero – Pocket Raspberry Pi Computer for Hackers
Pre-ordered one with gyro+accelerometer for livecoding.
Archit3ch··on Red Programming Language: Static linking support
> ability to create a self-contained binary

> so i am very happy to see a high level language get that potential. besides go only common lisp has that ability that i am aware of.

Julia can do it.

Archit3ch··on From Julia to Rust: a differentiable tensor stack for scientific computing
Metal only supported via wgpu due to pulling in CubeCL as a dependency is... not ideal.

If you need to extend it, you'll have to write custom Autodiff rules with the ergonomics of a Rust front-end and a JAX-like backend. :(

Archit3ch··on Qualcomm to Acquire Modular
> How did Mojo already lose when Qualcomm just made a $4B bet on it?

NVDA market cap is $4.7T.

The difference between a billion and a trillion is roughly a trillion.

Archit3ch··on Qualcomm to Acquire Modular
> After so long and so much investment in AI, the best cross-platorm API we've got for high performance Kernels is vulcan, a graphics API. That is sad.

Vulkan is mighty fine, but Julia just works for me.

Archit3ch··on Qualcomm to Acquire Modular
Mark (=the person you replied to) has appeared in conferences.
← PreviousPage 3 of 14Next →