Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zokrezyl
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Show HN: Yetty – Terminal with programmable UI cards [video]
(youtube.com)
1 points
by
zokrezyl
7mo ago
|
0 comments
2.
▲
Title: Yetty – A WebGPU terminal emulator with inline graphics, plots, and PDFs
(github.com)
1 points
by
zokrezyl
8mo ago
|
1 comments
3.
▲
by
zokrezyl
8mo ago
I've been working on Yetty, a terminal emulator that uses WebGPU to render not just text, but also images, PDFs, plots, and interactive widgets directly in the terminal grid. The core idea is "cards" – rich content blocks
4.
▲
by
zokrezyl
9mo ago
It's fine and thank you! I am playing arround with the idea, in theory all is good.. Only thing is that things like "first non ..." often involve branching that corrupts the prediction ability of the CPU. Therefore I kindly i
5.
▲
by
zokrezyl
9mo ago
Do you mind trying out your solution? The code is in https://github.com/zokrezyl/yaal-cpp-poc Thanks a lot! Obviously if your solutions gets closed to the memory bandwith limit, we will proudly mention it!
6.
▲
by
zokrezyl
9mo ago
Thanks for the suggestion. Indeed, that would be the first approach. That is how I started. This is however not considering the state (am I inside a 'statement' or not) statement meaning string from first non-space till next EOL o
7.
▲
by
zokrezyl
9mo ago
the C++ version is also evolving! Have a look https://github.com/zokrezyl/ymery-cpp
8.
▲
by
zokrezyl
9mo ago
For my problem describe under the link above the suggestions above eliminate indeed the branches, but same time the extra instructions slow down the same as my initial branches. Meaning, detecting newlines would work almost 100% of memory t
9.
▲
by
zokrezyl
9mo ago
thanks for pointing out! I tried the borrowing trick from the previous segment, was pretty obvious, but for some reason failed as could not avoid at least one conditinonal... will try again.
10.
▲
by
zokrezyl
9mo ago
https://godbolt.org/z/3YMbaeEGh One approach....
11.
▲
by
zokrezyl
9mo ago
I do not have one "implementation" but have been trying with different approaches that all delivered under 50% of memory bandwith... I guess if anyone can purpose a solution should be from scratch... The problem is that all approa
12.
▲
A SIMD coding challenge: First non-space character after newline
3 points
by
zokrezyl
9mo ago
|
13 comments
13.
▲
Show HN: Ymery – Build Dear ImGui apps with YAML instead of code
(github.com)
2 points
by
zokrezyl
9mo ago
|
1 comments