HackerTrans
TopNewTrendsCommentsPastAskShowJobs

steeleduncan

no profile record

Submissions

Show HN: Eyot, A programming language where the GPU is just another thread

cowleyforniastudios.com
79 points·by steeleduncan·4 months ago·18 comments

comments

steeleduncan
·19 days ago·discuss
I think it is a typo, and should be std::println()
steeleduncan
·2 months ago·discuss
I think there is a strong argument that Gerrit is the current evolution of the patches workflow, many prefer it, and there are a lot of good blog posts explaining why.

I don't know what the justification for emailing patches around is though, that seems needlessly painful in the face of alternatives
steeleduncan
·3 months ago·discuss
It seems to have updated to SDL3 - https://github.com/love2d/love/blob/main/CMakeLists.txt#L178
steeleduncan
·3 months ago·discuss
Tiny CC doesn't have its own runtime, it uses whatever you specify (falling back to system standard), same as GCC or Clang. For low runtime footprint you are probably better off with one of those two compilers as they generate smaller, more optimised code.
steeleduncan
·4 months ago·discuss
What has changed at GitHub to cause this?
steeleduncan
·4 months ago·discuss
Not right now, it is far too early days. I'm currently working through bugs, and missing stdlib, to get a simple backpropagation network efficient. Once I'm happy with that I'd like to move onto more complex models.
steeleduncan
·4 months ago·discuss
It uses the same trick as Go [1]. The grammar has semicolons, but the tokeniser silently inserts them for ease of use. I think quite a few languages do it now

[1] https://go.dev/doc/effective_go#semicolons
steeleduncan
·4 months ago·discuss
I'm not totally sure what it is, but I believe there is something for running Rust code on the GPU easily
steeleduncan
·4 months ago·discuss
I tried this with an old iOS only game a few years ago. It is clearly not a heavily used library, but it seemed to work ok

- There was a bug or two I had to patch, but the code is readable, so it wasn't a big deal

- OFString, etc aren't intended to be 1:1 replacements for NSString, etc. This wasn't a real problem. They mostly match, and all I needed to do was write a few categories

- The runtime functions are not compatible at all, but most projects wouldn't touch those

- CoreFoundation and the other C APIs are not there at all, so you'll need replacements

- It is a replacement for Foundation framework, not AppKit, so if it is a GUI app you still have a lot of work to do
steeleduncan
·5 months ago·discuss
Discord if you don't mind something proprietary, Mattermost or Rocketchat if you do, Zulip if you want something slightly different . . . and no doubt many other alternatives

Slack is easy to replace with something cheaper and better on a product or technical level. The network effects are strong of course, but they won't sustain it forever
steeleduncan
·6 months ago·discuss
https://web.archive.org/web/20260114232734/https://the-diy-l...
steeleduncan
·6 months ago·discuss
Use tmux. Ssh in and start a tmux session. If the connection breaks you can ssh back in and reconnect to the tmux session later.

GNU Screen is another alternative
steeleduncan
·6 months ago·discuss
It is odd, I would have thought $0 is the more obvious number there. It seems you can refund via a shell command though, so the money is not trapped
steeleduncan
·6 months ago·discuss
Gemini/ChatGPT help (a lot) when getting going. They make up for the poor documentation
steeleduncan
·6 months ago·discuss
package.lock is JSON only, Nix is for the entire system, similar to a Dockerfile

Nix specifies dependencies declaritively, and more precisely, than Docker (does by default), so the resulting environment is reproducibly the same. It caches really well and doubles as a package manager.

Despite the initial learning curve, I now personally prefer Nix's declarative style to a Dockerfile
steeleduncan
·6 months ago·discuss
I do the same with Nix as it works for macOS builds as well

It has the massive benefit of solving the lock-in problem. Your workflow is generally very short so it is easy to move to an alternative CI if (for example) Github were to jack up their prices for self hosted runners...

That said, when using it in this way I personally love Github actions
steeleduncan
·6 months ago·discuss
I believe Rob Pike also doesn't use syntax highlighting [1]

[1] https://groups.google.com/g/golang-nuts/c/hJHCAaiL0so/m/kG3B...
steeleduncan
·7 months ago·discuss
None of this actually matters. If you want to keep your data private, host it on your own hardware. Countries, company policies, etc are all essentially irrelevant
steeleduncan
·7 months ago·discuss
Sorry if I missed this in the docs, but how robust is the persistence? ie is it the disk that comes with a standard AWS VM? or is it a share backed by e.g. Ceph with multiple redundant copies?
steeleduncan
·7 months ago·discuss
The other conclusion to draw is "Git is a fantastic choice of database for starting your package manager, almost all popular package managers began that way."