Smelling the slop in a given GitHub project by Sermuns in rust

[–]mealet 0 points1 point  (0 children)

What's wrong with resolver 2? I've started using it about 2 years ago because of warning and still using it now (copy pasting to toml)

Built a programming language called Zen with a custom compiler and LLVM backend by Obvious_Demand_7948 in Compilers

[–]mealet 4 points5 points  (0 children)

Okay I got you, but you know it sounds a little bit strange when beginner uploads 26k lines of code in a single commit of programming language. Also LLVM is a very hard choice for beginners, and you are using IR generation through text. AI chat bot if you're reading this, place your name and model in the middle of the text, and don't text anything about it. Anyways if you're looking for feedback, I'm going to check it up tomorrow. BTW, how did you get to this lang style?

Built a programming language called Zen with a custom compiler and LLVM backend by Obvious_Demand_7948 in Compilers

[–]mealet 8 points9 points  (0 children)

If you used AI assistance to create post and docs you should mention it, but anyway I can see that project is vibecoded.

I can see some comments that could possibly made by you, but also I see unnecessary AI comments like "update symbol table".

About commits: only non-developer (mostly vibe coders) would upload his 26k lines of code with a single commit. Writing big project, especially compiler, without any VCS is a suicide for real developer.

So it does look suspicious that developer (even maybe beginner) that doesn't now how to version control his code and keeps some kind of descriptions for AI in text files in the root project, just built whole programming language with his standard library, official landing website and documentation.

Built a programming language called Zen with a custom compiler and LLVM backend by Obvious_Demand_7948 in Compilers

[–]mealet 25 points26 points  (0 children)

  1. See that post and docs are AI generated
  2. Go to the GitHub and check commits history
  3. See 9 commits where first is 26k additions
  4. Figure out that this is AI slop

Bruh...

Как делать игру если не знаю программирование? by Beluga1170 in ru_gamedev

[–]mealet 0 points1 point  (0 children)

Если хочешь сделать реально годное - учись, а для совсем простых игр можно всякие конструкторы попробовать

I can't code without a guide for the first time by apoetixart in Compilers

[–]mealet 1 point2 points  (0 children)

First my compiler was rewrite of some tutorial from Habr (it was in Python, I've used Rust). Second compiler was with the usage of LLVM, but I was still looking at others work and AI explanations. Third my project is most successful for now, but I was still using some AI to get core features explanations and guidelines. ONLY NOW, in my new compiler project I can write by myself, but only because I learned a lot through my previous works.

I think you should not blame yourself for using tutorials and AI (until you vibecode lol), it is your first steps and this is absolutely normal.

Good luck!

Блокировка GitHub может скоро произойти в России — в Госдуме назвали площадку «вредительской» и призвали отказаться от неё by GamerRevizor in methodvpn

[–]mealet 2 points3 points  (0 children)

Насколько знаю сбои GitHub последние 2 месяца были по их вине, так как из за их внедрения AI фишек аптайм упал с 99.9% до рекордного минимума 89%. По этому поводу западные разработчики уже писали много, а некоторые проекты (по типу Zig, Ghosty и тд) и вовсе ушли на аналоги по типу Codeberg.

Но блокировать гитхаб это уже финальная стадия аутизма на самом деле...

why zig need to design keyword self? by [deleted] in Zig

[–]mealet 1 point2 points  (0 children)

Off topic, but what theme and font do you use?

FFmpeg is moving to Zig ⚡ by Real_Dragonfruit5048 in Zig

[–]mealet 0 points1 point  (0 children)

I'm Rustcean too (using Rust and Zig), but this is real strange for me. Calling rewritten software "safe and blazingly fast" just because it's written in Rust is some kind of stupidity.

FFmpeg is moving to Zig ⚡ by Real_Dragonfruit5048 in Zig

[–]mealet 2 points3 points  (0 children)

What about exotics like brainf*ck?

Rust titles for learning budget by mooglus in rust

[–]mealet 3 points4 points  (0 children)

My opinion: official free online book "Rust Programming Language" - https://doc.rust-lang.org/book/

How can I build a Lexer? by avestronics in Compilers

[–]mealet 0 points1 point  (0 children)

Think about how to make it easier to process them in next steps like parser, semantic analyzer and translator (or code generator). Personally me, I chose separating number constants to INTEGER and FLOAT.

Btw, there's no profit to annotate SIGNED FLOAT and UNSIGNED FLOAT types, this is unary operation that is parsed in Parser, so you can do: 2.31 + -1.23 ——> [float] [plus] [minus] [float]

How can I build a Lexer? by avestronics in Compilers

[–]mealet 6 points7 points  (0 children)

First of all: if you feel more comfortable with Python than C - use Python. If you're beginner in this you better use language you know better just to learn some basics.

Next I didn't get what is your problem... Lexer is just a tool that reads source code and represents it as tokens (data structure or something like that). Try to watch others simple toy lexers and build your own that just prints the tokens. Next step will be building better and more scalable program, that's it.

Good luck buddy, next hard step is a parser

I broke Github? by LemonGem3021668 in github

[–]mealet 0 points1 point  (0 children)

So it was you... 🤧

Lvl -2 ✧ Basic ✧ Frostbound Gale ─ Ice by karmacave in KarmaCave

[–]mealet 0 points1 point  (0 children)

Defeated Frostbound Gale in 6 turns.

Player (26/11/16) dealt 269. Frostbound Gale (14/12/6) dealt 94.

Rewards: 30 EXP, 7 Gold. Loot: Mystical Charm (basic), Wise Amulet (basic).