ashish (@ash1sh0kumar) header
ashish (@ash1sh0kumar) profile picture

terminals // systems // web

Joined June 2024
Photo by ashish (@ash1sh0kumar)Photo by ashish (@ash1sh0kumar)Photo by ashish (@ash1sh0kumar)Photo by ashish (@ash1sh0kumar)Photo by ashish (@ash1sh0kumar)Photo by ashish (@ash1sh0kumar)Photo by ashish (@ash1sh0kumar)Photo by ashish (@ash1sh0kumar)Photo by ashish (@ash1sh0kumar)Photo by ashish (@ash1sh0kumar)
yayy 500 followers on github!!! thanks to every single one of you <3
64
20
1
1,153
37,645
ashish retweeted
Hey everyone, I am currently looking for my next role in backend, systems, or ai infrastructure engineering. preferably remote-first. i'm based in india (ist) and comfortable working across us/eu time zones. i mostly work with go, along with python and typescript. i enjoy building things from scratch, understanding how they work under the hood, and occasionally going a little too deep into the details. some things i've built: mini-rpc — an rpc framework in go over raw tcp, with custom framing, serialization, and code generation. mini-protoc — a lightweight protocol buffers compiler in go for mini-rpc, with a hand-written lexer, parser, ast, schema validator, and go code generation for message structs and service/client stubs. pony — a go runtime for orchestrating multiple ai coding agents, with process lifecycle management and pty support. krafta — a kafka-inspired log system in java, with partitions, offsets, consumer groups, and multi-broker coordination. newsletter backend — built using go, postgresql, rabbitmq, and redis, with a focus on async processing, idempotency, and rate limiting. recently, i've been spending more time exploring the infrastructure side of ai —agent runtimes, llm gateways, mcp, and the engineering challenges involved in making these systems reliable. i'm open to junior / entry level opportunities in backend, go, systems, or ai infrastructure. remote roles would be ideal, but i'm also open to opportunities in bengaluru/hyderabad. if you're building something interesting, know of an opening, or think there might be a good fit somewhere, feel free to reach out. referrals and introductions are always appreciated. website: akansharoy.site
github: github.com/akansha204 my dms are open!
60
51
5
377
16,417
Scientists lost the Hi. They dont fucking know anymore. All the research is gone. Fuck.
38
2,581
46
15,811
136,248
Hi, we're Threadlocked, a small collective of young researchers and hackers scattered across India and APAC. We're sick of watching an entire generation mistake salary packages and credentials for the pursuit of computer science itself. We're looking for curious hackers and researchers who still dare to take the road less traveled by treating computing as a craft. We grew up in obscure corners of the Internet and learnt from strangers who encouraged our curiosity, shared their knowledge and even helped us access resources we couldn't afford. Somewhere along the way, we found our people. Now that we're in a position to do the same for others, we'd like to return the favor. If any of these feel familiar we’d love to hear from you.
66
119
20
1,233
50,996
ashish retweeted
8
1
80
1,690
ashish retweeted
'explain the gap in your resume' -Sir here's my letterboxd
25
905
37
7,274
75,721
Excited to watch Nathan Fielder's directorial debut called You.Can.See.Everything.2026.CAMRip.AAC.x264.mkv
60
2,888
80
30,545
381,234
ashish retweeted
all roads lead back to the hobbies you had as a child
212
10,549
686
53,593
838,261
ashish retweeted
get your spark back nigga
1,232
34,618
2,036
266,160
4,839,916
ashish retweeted
india keeps rewarding mugging up PCM and then wonders where the hackers went. JEE is not computer science. GATE is not cybersecurity. rank is not competence. our examination fetish is killing technical talent: ni5arga.github.io/notes/indi…
268
359
230
3,216
643,585
ashish retweeted
currently looking for full-time roles in appsec/product security, cybersecurity analyst and software engg roles open to on-site any location post january 2027, but remote is preferred for now if any of y'all have any leads I'd love to talk, thanks!
18
18
2
181
9,602
"making" lego's using images
13
14
1
75
2,084
"liquifying" pixels @OffToning
42
22
9
138
18,762
ashish retweeted
real men meow when the convo gets dry
76
1,061
147
8,654
203,227
halftoning using @OffToning
36
27
4
103
8,382
For how long can the void be filled with books and movies?
101
824
200
5,067
145,938
ashish retweeted
Today is National Black Cat Appreciation Day.
1,164
22,508
12,538
182,373
13,283,684
ashish retweeted
my girl said she knew a spot
46
1,736
119
16,847
601,401
i scraped the entire r/unixporn subreddit and made it filterable by distro, WM, and colorscheme. Finding the perfect linux rice has never felt easier. link to the site: dotfiles.lol it's fully open sourced, feel free to drop a star: github.com/0xN1nja/awesome-d…
7
13
2
61
2,639
ashish retweeted
friend @NatyaCodes needs job in embedded or robotics adj stuff please hire him instead of larpers
3
5
19
1,131
ashish retweeted
What's next for OpenTUI? Here's a technical write-up. Over the last few months OpenTUI gained a lot of stability improvements, new unnecessary but fun features like live audio streaming, and useful features like rendering to the scrollback buffer mixed with a live TUI, called footer mode. Overall the feature set enables building large and complex applications. React and Solid make it super simple and convenient. There is still so much to do though. Three big milestones we have set out to achieve are: - Moving most of the behavioural logic currently living in TypeScript down to the native Zig core - Node compatibility - Optimizing the hell out of primitives like text rendering The render tree mechanisms are currently only usable from TypeScript. Think of the DOM, but controllable like a scene graph. Elements in the render tree are called renderables. They can expose a render method to draw themselves. All renderables are derived from a BaseRenderable. Renderables and the render tree will become native primitives. Building blocks usable from any language bindings. Reducing the TypeScript bindings to a very thin layer, with all the behavioural logic living in the native binary. Moving this down is not just a matter of porting TypeScript classes to Zig. TypeScript currently owns the tree, dirty-state propagation, layout reads, culling, and render ordering. If it still has to walk every node and call into native code for each step, we keep most of the complexity and add FFI overhead. Whole passes and their state need to move together. We took a big step towards this recently by building yoga-layout into the native binary. It exposes part of the official yoga-layout TypeScript package via FFI. Only the API surface that is actually used by OpenTUI. Covered by the test suite of the original yoga-layout package. This already gave a median speedup of ~2.5x, and up to 30x for narrow scenarios. The yoga-layout integration is useful beyond the speedup. Built-in text and editor measurement can now happen entirely in native code during layout instead of calling back into JavaScript. I ran an experiment last month taking this even further, having GPT 5.6 port yoga-layout from C++ to Zig, which gave extremely good results. It would be a burden to maintain right now though, so that's off the table for now. I might come back to it. @simonklee is working relentlessly on Node compatibility and already has a full Node version of OpenCode running. Node got FFI support in v26.4.0, thanks to help from the Node community, namely @matteocollina and @p_insogna. Behaviour and interfaces seem similar between Node and Bun, but there are some major differences. To get the best performance out of the Node FFI implementation, its usage has to follow some rules. Node has three ways to call native functions: the generic C++/libffi path, the SharedBuffer path, and the V8 Fast API. The generic path converts every argument in Node's C++ layer and then calls the function through libffi. It is flexible, but also the slowest option for frequently called functions. The SharedBuffer path is a middle ground. JavaScript writes scalar values and BigInt pointers into a small per-function buffer, reducing some conversion work. The actual native call still goes through libffi though. Typed arrays used as pointers cannot be packed into this buffer and fall back to the generic path. The path we really want is the V8 Fast API. Node generates a small machine-code trampoline for the exact function signature, allowing optimized JavaScript to call the native function without going through the generic converter or libffi. This only applies to JavaScript-to-native calls. Callbacks from native code into JavaScript still use libffi closures. Getting onto this path is quite strict. A signature can have at most eight arguments and everything must fit into CPU registers. x86-64 Unix systems have room for six GP (general-purpose) and eight FP (floating-point) arguments. AArch64 has room for seven GP and eight FP arguments. Anything that spills onto the stack falls back to a slower path. These are Node fast-path restrictions, not general FFI restrictions. Bun also does not support passing structs by value through its current FFI API. OpenTUI uses bun-ffi-structs to pack ABI-aligned struct data into an ArrayBuffer and passes a pointer instead. Despite the name, the package also works with Node. Pointers need some care too. Typed arrays and ArrayBuffers normally have to be resolved into BigInt addresses first. Eligible functions with exactly one pointer argument get another Fast API entrypoint that can extract the address directly from the buffer. An eligible signature is still not enough. V8 has to optimize a direct call with a fixed number of consistently typed arguments. Wrappers that collect arguments and forward them using spread or Reflect.apply can hide that call shape and keep the function on a slower path. The practical rules are: keep hot signatures within register limits, use direct fixed-arity calls with stable argument types, reuse owned buffers safely, and batch small operations. Then measure the real call site, because eligibility only makes a function fast-capable. We have to design the ABI around these constraints where it makes sense and gives the expected performance improvement. The third big area is text rendering. Today a Text renderable accepts a string, StyledText, or a tree of TextNodes. Before rendering, the TextNode tree is walked and flattened into styled chunks. Those chunks are packed in TypeScript, sent through FFI, copied into a native TextBuffer, and stored in a rope. Styles are represented separately as highlights. A TextBufferView then wraps the rope into visual lines, which are drawn into the visible buffer. This works, but updates are much more expensive than they should be. setStyledText effectively throws away and rebuilds the rope, copies and reparses all text and recreates the style highlights. Changing one TextNode also walks and flattens the complete tree before going through this path again. Text and style segments should instead live directly in the rope and support incremental replacement. Memory ownership is split between retained JavaScript buffers, the native memory registry, rope arenas, wrapping caches, styled-text storage, and highlights. Different operations preserve or reset different parts of that state. This is hard to reason about and can retain memory for much longer than expected. Text storage needs clearer ownership, with fewer lifetimes split across JavaScript and native code. The public API reflects the same split. The t template literal is convenient, but creates another intermediate chunk representation that is mutable, not cached, and not merged. Text also maintains both StyledText content and a special TextNode tree, which do not compose properly. TextNode is only a style scope, not a normal layout primitive, so Text renderables cannot naturally compose inside each other. I think this should become one Text primitive backed directly by rope segments. The template literal API might disappear or become a very thin helper around those native segments. Editing has another temporary layer in TypeScript. Extmarks currently monkey-patch editing operations, scan and adjust all marks after changes, maintain their own undo state, and recreate native highlights. They should become native marks anchored directly in the rope. A proper mark tree, similar to Neovim's marktree, could update marks together with edits, undo, and redo, and provide the foundation for highlights and concealment. Text wrapping has also become too complex. Supporting CJK, emoji, combining characters, ZWJ sequences, tabs, and different terminal width rules currently mixes byte offsets, grapheme indexes, and display-cell columns across several custom algorithms. Dirty views rewrap the complete document. Measurement and drawing can repeat some of the same work. The wrapping implementation needs an overhaul, but the exact shape is still open. The goal is to make Unicode handling easier to maintain, avoid repeated full-document work, and clearly separate byte offsets, graphemes, and terminal display cells. None of this will happen as one big rewrite. We will replace pieces when we understand the problem well enough and when the result is clearly simpler, faster, or more useful. To achieve all of this we might break public interfaces. Thanks to OpenCode and a lot of good models, migration to a new version with breaking changes mostly is not an issue anymore. What do you want to see next for OpenTUI?
24
28
3
383
31,404