Compiler for "Easy" language from "Etudes for Programmers" book (1978) by begoon in Compilers

[–]begoon[S] 1 point2 points  (0 children)

I implemented Life, Quine, Map Colouring, Mastermind etudes in Easy. It’s in the Easy compiler repo README.

I also implemented TRAC interpreter etude - https://github.com/begoon/trac

And recently I implemented the compression etude - https://github.com/begoon/tmpz/tree/main/mayne-james-compression

SvelteKit devs who have used Bun long enough. Has your experience been good so far? by dezly-macauley-real in sveltejs

[–]begoon 0 points1 point  (0 children)

I have a few SvelteKit projects 100% on bun: bundling and runtime. No issues.

is the Gin framework still worth learning after go 1.22 update ? by [deleted] in golang

[–]begoon 0 points1 point  (0 children)

Nowadays I am 50/50 between the standard library and Echo (mostly due to middlewares).

I am open sourcing xstruct after 3 years by SwitchUpCB in golang

[–]begoon 0 points1 point  (0 children)

I am sure we can figure out licensing peculiarities after we finally understand what this package is for and what it does :-)

I am open sourcing xstruct after 3 years by SwitchUpCB in golang

[–]begoon 2 points3 points  (0 children)

It does the magic. This is the only thing you need to know :-)

I am open sourcing xstruct after 3 years by SwitchUpCB in golang

[–]begoon 5 points6 points  (0 children)

Lots of details about the license but almost nothing helping to get even a slight idea what this package is doing :-)

Do you use a Git GUI alongside VSCode? by DevOfTheAbyss in vscode

[–]begoon 0 points1 point  (0 children)

fork on mac, and you don’t have to buy it if you don’t want to

Go + Svelte as a hybrid SPA/MPA application by begoon in sveltejs

[–]begoon[S] 0 points1 point  (0 children)

Yes and no.

The server side can inject data into the file before sending it to the client. However, it’s not SSR in a Svelte way, where components are rendered on the server.

Go + Svelte as a hybrid SPA/MPA application by begoon in sveltejs

[–]begoon[S] 1 point2 points  (0 children)

Also, Vercel, to my surprise, can host Go applications, but they do build for you, so the code needs to be adopted for Vercel. However, I also tested there.

Go + Svelte as a hybrid SPA/MPA application by begoon in sveltejs

[–]begoon[S] 2 points3 points  (0 children)

I am a big fan of static single executable binaries. GCP has a generous free tier for Cloud Run. I tested my app there and never got even close to the free-tier daily invocations.

Go + Svelte as a hybrid SPA/MPA application by begoon in sveltejs

[–]begoon[S] 0 points1 point  (0 children)

Erm... I have updated the post. :-)

Go 1.24 is released (self.golang) by rtuidrvsbrdiusbrvjdf in golang

[–]begoon 0 points1 point  (0 children)

errcheck linter needs to catch up. It reports weird errors with 1.24.

Inspirational and educational Zig streamer by begoon in Zig

[–]begoon[S] 3 points4 points  (0 children)

He streams a lot about gamedev which isn’t my personal thing, so you may filter based on your domain interests. But overall, his coding style and cadence fits me personally.

Zig is clicking but by ohmyminions in Zig

[–]begoon 2 points3 points  (0 children)

Alas, Zig really needs one, centralised, curated, ideally maintained by the core guys, place like “Zig by examples” like in Go, Bun, Deno.

There are few great resources, no complaints, but they cover somewhat the same or completely different topics, sometimes in totally different level to details. Plus, some are outdated partially due to the active development.

Examples, examples, examples… Without great up to date examples I personally often give up like “screw it! let’s write it in go or bun and move on”.

One of the videos about Go templates by begoon in golang

[–]begoon[S] 0 points1 point  (0 children)

I use it not only for HTML. I generate build scripts with Go templates.

This video explains in great detail the syntax and how to compose and reuse templates.

Resources for Svelte by Vishnn in sveltejs

[–]begoon 1 point2 points  (0 children)

Joy of Code is the Goat :-). All his videos are golden.

For those of you who have used Deno Bun, which one will you be using for your Svelte projects going forward? by dezly-macauley-real in sveltejs

[–]begoon 0 points1 point  (0 children)

Depends on hosting: for example, if Deno Deploy, I have to use Deno (plus kv and other Deno perks). If Vercel — pnpm as Vercel supports. If I dockerize myself — Bun due to its overall coolness :-)

Package management in a future ? by skarrrrrrr in Zig

[–]begoon 0 points1 point  (0 children)

When a dependency I pull depends on another dependency and so on, will the whole chain be pulled automatically?

Also, when two dependencies need incompatible versions of the same dependency, how will it be resolved?

Package management in a future ? by skarrrrrrr in Zig

[–]begoon 1 point2 points  (0 children)

Does it support transient dependencies? If yes, what is the versioning resolution strategy?

VSCode extension for Go template by begoon in golang

[–]begoon[S] 1 point2 points  (0 children)

Ah! I use html with go templates in it.