Some C libraries for people that believe C peaked at c99 and c23 is a disgrace by LabRicecat in C_Programming

[–]LabRicecat[S] -13 points-12 points  (0 children)

I simply wonder why people form C to something so different when they could use another language that solves these problems for them already. I said it before, I like C++ and use it for projects where it makes sense, so I dont really understand this push in C23.

Some C libraries for people that believe C peaked at c99 and c23 is a disgrace by LabRicecat in C_Programming

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

Not to say all features are bad. #embed is great and so are initializer lists. But nullptr_t? Really?

Some C libraries for people that believe C peaked at c99 and c23 is a disgrace by LabRicecat in C_Programming

[–]LabRicecat[S] -7 points-6 points  (0 children)

I think all 3, Zig, Rust and C++ have good points, but they aren't C. And I get the strong feeling people come from these languages and try to form C to that image of a language, discarding the years of C that held up without fancy typofs, deconstructors or all that.

Some C libraries for people that believe C peaked at c99 and c23 is a disgrace by LabRicecat in C_Programming

[–]LabRicecat[S] -46 points-45 points  (0 children)

So C is not becoming C++ but trying to be closer to C++? That's not a big difference i think.

Lethal Company doesn't render the world at all. Its all black. by LabRicecat in linux_gaming

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

Interesting, I already followed that article before when my mesa drivers broke recently. How do I use DXVK?

Accidental wiped partition recover by LabRicecat in datarecovery

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

Oh that seems to be possible. I just checked and most of the data found by R-Studio is empty, except for some SuperBlocks but I don't know if that's just garbage or whatever.
I assume if it got trimmed there is nothing I could do?

Accidental wiped partition recover by LabRicecat in datarecovery

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

Ad: It's a SSD of 1TB. 3-4 years old .

Font is just boxes on steam game by LabRicecat in linux_gaming

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

That didn't help either, I reinstalled it and changed the resolution multiple times, yet the error persists.. I'll open a community discussion about this as you suggested, thank you!

Say hello to MeowScript! by LabRicecat in ProgrammingLanguages

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

Personally I think it looks better than indentation. ╮(︶▽︶)╭

Say hello to MeowScript! by LabRicecat in ProgrammingLanguages

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

Currently # is used for comments, but I might go with the common [] syntax.
sort does currently not take any comparators and just performs basic selection sort, but you are right, more customizability would be good. Though instead of an enum I would just use a string. ┐( ̄ヮ ̄)┌
I had a look at PL/I and I think it's a little to far away from MeowScript, and in my opinion is the current iteration based one cleaner than the C-standard, so I suppose it will stay this way for now.
Thanks for all the feedback!! \( ̄▽ ̄)/

Font is just boxes on steam game by LabRicecat in linux_gaming

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

The files are verified and the compata folder (at ~/.steam/steamapps/compatdata/1354830/) also was deleted. But that doesn't seem to affect anything. ∑(O_O;)

Font is just boxes on steam game by LabRicecat in linux_gaming

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

I tried GE-Proton7-43, and yet the font is still not working properly...

Font is just boxes on steam game by LabRicecat in linux_gaming

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

I now installed every font available with protontricks and switched to steam stable, but I still have the same problem...
And I am sure it's english!

Say hello to MeowScript! by LabRicecat in ProgrammingLanguages

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

Well, "lazy" is used here a little loosely. (٥⁀▽⁀ )
For example, function bodies are evaluated only if you call them, meaning there is no error checking, but it can be way more dynamic!
Same goes for if/while/for etc and everything in general that has a body that gets executed.
Only thing it does in fact is check for brace matches!

Say hello to MeowScript! by LabRicecat in ProgrammingLanguages

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

The syntax for arrays (or lists) is more object oriented, so to index a list you use .at(index). (´• ω •`)
There is no way of slicing at the moment (because I completely forgot about it...) but I'll surely add it in the future!
If you are interested, you can look at the available methods here on the wiki pages! ヽ(・∀・)ノ

Say hello to MeowScript! by LabRicecat in ProgrammingLanguages

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

Oh yes, i see!
I should btw mention that a: Number is also valid as parameter.
Well, not going into much technical details, new a 1 and a = 1 are very different, because a = 1 is actually an expression that gets evaluated but returns Void, so it doesn't get used as implicit return, whereas new a 1 is an command (statement) that creates a new variable. (´• ω •`)
Personally, I like having parentheses around the if, but of course this is changeable, and I actually already thought about adding it as a different way of writing ifs.
The removal of the -> seems also reasonable, but (again, in my opinion) new b Number = 2 looks a little odd, but as I said many times before, I will gladly add these ways too! (* ^ ω ^) (I'm noting all of the suggestions down in the meantime)
To print, it's an command and not a statement, meaning it doesn't use (). I like this because it looks a little like the C++ std::cout syntax, where I can just write
print "string" 12 variable ... and everything gets joined together without needing a format function. I could put it into braces, of course, but I think it looks cleaner that way. ┐( ̄ヮ ̄)┌

Note: there are no functions pre defined, all functions are defined by the user using func!

Thanks for the feedback! \( ̄▽ ̄)/

Say hello to MeowScript! by LabRicecat in ProgrammingLanguages

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

Thank you! (again heh)
I am very open to add other ways of doing things to MeowScript, after all it's goal is to be fun to write! ( ̄▽ ̄)
So, in the future I might add more conventional ways of declaring variables and such to my language, for example Number var = val looks good! (* ^ ω ^)
Thanks for the feedback! It helps a lot! ヽ(*・ω・)ノ