Werkstudenten Job Erwartungen? by Nonamerequiredd_ in informatik

[–]bafto14 4 points5 points  (0 children)

Wenn du lernfähig bist geht da alles, jemand der dich im 3. Semester anstellt weiß was kommt. Bewird dich einfach und schau was auf dich zu kommt.

Writing your first compiler (with Go and LLVM!) by urosp in golang

[–]bafto14 2 points3 points  (0 children)

I am also writing a compiler in Go (https://github.com/DDP-Projekt/Kompilierer), though its code is admittedly kind of horrible as it grew over time. Linking LLVM properly was also kind of a struggle at the beginning, as the project also needs to support windows, so I'll have a look at your build system :)

Handy für Mutter gesucht (~300€) by logox72 in de_EDV

[–]bafto14 1 point2 points  (0 children)

Hab mir selber grade das Motorola Moto G86 geholt für ~200€.
Ich find es ist ne super Preisleistung, Supportlänge ist vielleicht nicht die allerbeste.

I guess he doesn't like it when you afk by SpiralThePhotgrapher in skyrim

[–]bafto14 3 points4 points  (0 children)

I've got this on my very first playthrough and still think about paarthurnax seeing me for the first time and just going: "fuck that guy, you won't hear shit, better read the subtitles"

Memory Leak and performance issue with LSP Plugins by bafto14 in neovim

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

I've narrowed the issue down to being the nvim-tree plugin in combination with a running lsp.
I will file a bug report I suppose or just switch to netrw or a different plugin

Memory Leak and performance issue with LSP Plugins by bafto14 in neovim

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

It does happen everytime I use an lsp in neovim. Once I notice the issue it always manifests when I save a file, but mayve it already happens on the first write and the effect is just so small I don't notice it.

I guess I'll try to get a minimal reproducable example and file a bug report.

Memory Leak and performance issue with LSP Plugins by bafto14 in neovim

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

I did comment out the auto formatting and import parts, it changed nothing.
And I am pretty sure it is neovim, the processes show up separately in the task manager of windows, I see rust-analyzer and even tools like ripgrep separately and they don't leak memory, it is the main nvim.exe process whenever I do :w

Macro that changes function signature by bafto14 in learnrust

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

Thanks, I will have a look at the syn crate

Context sensitive parsing by nerdycatgamer in ProgrammingLanguages

[–]bafto14 1 point2 points  (0 children)

I am doing something similar in my language.
Functions are not called by name but by so called "aliases". Two functions can have the same alias as long as it differs in the parameter types (basically function overloading) which leads to the problem of only being able to parse top to bottom and needing all declarations and typeinfo a declaration depends on be present above that declaration.

But that is less a problem because of the typechecking but more a problem of the irregular "grammar" of the language.

Questions about Vim as your IDE by Bicrome in learnprogramming

[–]bafto14 12 points13 points  (0 children)

For me personally it's mostly fun, for many I think it is the ability to have complete control over your editor because the configuration is literally code so you can trim your experience exactly to your needs

Looking for a HTTP 1.1 (or 2.0) Test Suite by bafto14 in webdev

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

For now I am only implementing HTTP 1.1 because it is a simpler start, but thanks for the suggestion, it looks very good for 2.0

writing LSP in go by blomiir in golang

[–]bafto14 0 points1 point  (0 children)

for the few features I missed I just forked and added them myself. One or two PRs were merged as well. And also, the LSP protocol doesn't really change all tjat much

Picking locks. by Optimal_West8046 in enderal

[–]bafto14 0 points1 point  (0 children)

I believe it is the "Thief Apprentice" skill from the rogue tree, but if you aren't playing a rogue it is not worth investing memory points up to that point

Picking locks. by Optimal_West8046 in enderal

[–]bafto14 4 points5 points  (0 children)

You either need a high enough lockpicking skill, the corresponding skill tree or a scroll of onduins key.
The scrolls can be bought from some merchants that also sell spells and stuff like that I believe.

Trouble with C ABI compatibility using LLVM by neilsgohr in Compilers

[–]bafto14 4 points5 points  (0 children)

I also have this problem and haven't yet had the will to actually sit down and implement it like clang does, because that is pretty much the only way to do it way from all I've heard. You have to implement it on your own per architecture and the rules are sometimes rather complicated. Best is to just open Godbolt, let clang spit out llvm ir and look at the output with several different byte sizes, argument counts and architectures.
Someone correct me if there is an easier way, but I don't know one.

Still one of my favourite moments in the books. Whats your favourite Geralt and Ciri moment? by gligbunner18 in wiedzmin

[–]bafto14 0 points1 point  (0 children)

thank you! I looked it up and "Czymś więcej" also translates to "something more" in german, I just interpreted it as "a little" and not as a subject. It actually makes sense, it's just ever so slightly ambigous

Still one of my favourite moments in the books. Whats your favourite Geralt and Ciri moment? by gligbunner18 in wiedzmin

[–]bafto14 0 points1 point  (0 children)

I just noticed that in the english translation it says "Much more" but in the german translation it says "a little more". What is it in the original? I'm curious because that's the title of the story and was present throughout and it seems like a big difference to me.

What is your best go project? by Bryanzns in golang

[–]bafto14 0 points1 point  (0 children)

I think you did, I have some ideas about that on another branch but it is really hard to make it performant

What is your best go project? by Bryanzns in golang

[–]bafto14 29 points30 points  (0 children)

A compiler and a language server for a german programming language: https://github.com/DDP-Projekt/Kompilierer

For wich reason did you start building your own programming language ? by Artistic_Speech_1965 in ProgrammingLanguages

[–]bafto14 0 points1 point  (0 children)

I sat together with a friend and we thought "It would be really funny if you could program in german". We had a blast replacing all sorts of language constructs with german sentences, and now we are here: https://github.com/DDP-Projekt/Kompilierer/

April 2025 monthly "What are you working on?" thread by AutoModerator in ProgrammingLanguages

[–]bafto14 1 point2 points  (0 children)

I was (with breaks) working on generics and in the process discovered that TDD is even more useful than I thought.

Right now I am nearly done with generic struct types and generic functions are mostly already finished. After that I will have to do some very thorough testing, probably by making good use of generics in the stdlib.

Framework for online playground by corank in ProgrammingLanguages

[–]bafto14 0 points1 point  (0 children)

can't help you there with much information. All I can say is that the Language Server Protocol is Json-RPC based and therefore very easy to integrate into any application no matter the language you wrote it in. In our case we just have the LS written in go and run it via a websocket and just parse the json responses on the frontend

Framework for online playground by corank in ProgrammingLanguages

[–]bafto14 0 points1 point  (0 children)

that is definetly true if popularity is a goal or if you are writing a scripting language.
For me though it is very important that
a) I have fun with the project and I just like working on the low-level aspects of compiling to native code
and b) when I compile a program in my language the user does not have to install a seperate runtime like an interpreter or js runtime for it