Re:VRML
by pclmulqdq on Sunday April 17, 2022 @12:07AM
(#31058397)
Text files are very hard to efficiently parse in parallel because there are so many variable-length and conditionally present fields. That necessarily leads to branches in your code which GPUs are not designed for.
[ Parent
| on HN ]
Re:VRML
by network2592 on Sunday April 17, 2022 @12:33AM
(#31058523)
It depends on the format of the text, the parser for that format, the language of the parser, and many other factors. Such a broad affirmative statement that text files are inefficient is tenuous at best.
We need some technology that turns text files into binary. To the startupmobile!
Re:VRML
by iostream24 on Sunday April 17, 2022 @06:38AM
(#31059899)
Hmm sounds like a compiler
Re:VRML
by dotancohen on Sunday April 17, 2022 @02:03AM
(#31058868)
Then pad fields and require them, even if the value is Null/None/Nil, and the field names too.
USERNAME:dotancohen\0\0\0\0\0\0
FOOBAR\0\0:\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
This might look ugly if you open it in Notepad, but so do XML and Org mode files. However an Emacs/VIM/VsCode plugin could make this seamless for the user.