Jokes on you, master is locked and can not be pushed to in repos i manage at work
DacoTaco
The real deal y0
- 0 Posts
- 62 Comments
DacoTaco@lemmy.worldto Programmer Humor@programming.dev•It's official, Rust is an anti C/C++ elitist slur1·8 months agoI think you have things wrong. Any other languages can have libraries be distributed as some format that would allow applications to use it, be it linux/gcc and .a files ( which are actually archives with elf/object files of the code ), or a full on library like .so/.dll.
Rust can only do .o/.dll and only have it expose like a c library afaik. Even .net has improved on the .dll and includes all its language features in it. Rust has none of that. Its not true that libraries not rebuilding are only for closed source. Its also ease of use/access and less problem prone. What if i build my library using a different version of the compiler than you and your application? I could have no problems building my library, while you cant build your application because the library i made gets rebuild and errors.
These errors happen and are all because there is no stable interface/abi and all other languages have overcome this.Also, by default, nothing in c is rebuild unless it needs to. Thats why the intermediate .o ( elf object ) files exist, so it only has to do the relinking and not recompile and thats why .a archive/libraries in c work, because it doesnt recompile. Unless you meant the fact rust can rebuild part of a file, without recompiling it completely?
I think you dont fully understand how c compilers ( gcc specifically ) work when using multi file projects ( and not just doing
gcc input.c -o output.exe
) just how i dont fully know how the rust compiler works. Also, anything using IL will always have an abi, because how else will it jump from code to IL code, so its obvious that rust to wasm will have to abide by that haha. Be it c wasm, c# wasm or rust wasm calling one another. Wasm is wasm, and you only need an exposed interface to call or include the other wasm ( c#/blazor havingNativeFileReference
in the csproj )Again, i like the idea of rust, but it has a long way to go to be viable atm. And it has many pitfalls to avoid so it doesnt become the hot mess that is any framework based on node.js
DacoTaco@lemmy.worldto Programmer Humor@programming.dev•It's official, Rust is an anti C/C++ elitist slur8·8 months agoI know that exists, but whats the point of that? You loose all advantages of rust when you use the library then because it cant predict application state with the library code. There is a reason all those rust libraries are compiled locally when you compile a rust application. Its a major lacking point for rust, and as long as it lacks that its dead in the water for big projects.
Again, i like strong type stuff and i like the ideas of rust but it is not grown up enough for me
DacoTaco@lemmy.worldto Programmer Humor@programming.dev•It's official, Rust is an anti C/C++ elitist slur11·8 months agoWhat is this abi and standard calling methods you speak off? Are you a rust-non-believer or some shit! Rewrite it all in rust, no questions asked!
( i too like the ideas of rust, but without a decent abi or not constantly changing interface, its useless to me. I dont want to rebuild all code, including libraries every time i update 1 library in my application )
Saaaaame. But sometimes even strongly typed stuff wont break on compilation time
Its funny cause its true. I often design tests to be “if a case/enum value is added this test will explode and tell them to add code here”
If i was in control, rather quickly haha
In the usb world its “host” and “device”, not “master” and “slave”.
But yes you are right
Haha ye. It is super interesting to see all those OS principals and seeing how nintendo implemented them. Stuff i will never forget either and some design patterns i have implemented in my actual job too
I have. Mostly on embedded devices that have no OS and you need something very specific.
… Or that one time i was reverse engineering a console kernel. I wrote arm asm then. Was actually fun to do tbh
Same haha. But i use a combination of commits ( but not pushed ), ammending, fixups and usually clean it up before making a PR or pushing ( and rebase/merge main branch while at it). Its how git should be used…
DacoTaco@lemmy.worldto Programmer Humor@programming.dev•Stop comparing programming languages1·11 months agoPerl? Nah, in this country its vb6, C#, java, gupta/centura and javascript :')
Source: been working for multiple healthcare market leaders in this country for 5 years now
DacoTaco@lemmy.worldto Programmer Humor@programming.dev•Stop comparing programming languages3·11 months agoWriting raw byte binaries ftw!
(Jokes aside, all programming languages have their good and bad things. Some just have more bad than good. And i say that as a C/C#/typescript/asm developer :p
DacoTaco@lemmy.worldto Programmer Humor@programming.dev•Stop comparing programming languages62·11 months agoModern php is not bad actually. Still kinda slow and dangerous, but A LOT better than it used to be :')
That said, i wouldnt build a web service with php still lol
DacoTaco@lemmy.worldto Technology@lemmy.ml•Microsoft blocks Windows 11 workaround that enabled local accounts5·11 months agoTried that on the last install i had to do. Doesnt always anymore. Task manager was hidden by the setup a few times when i did that :(
I ended up using rufus to patch iso pre-extraction hehe :)
DacoTaco@lemmy.worldto Technology@lemmy.ml•Framework Laptop 13 gets Intel Core Ultra with a 120 Hz display, and cheaper AMD models4·1 year agoI agree. When i got my framework 16 it just felt like suddenly i had freedom in my hands, a breath of fresh air. It was amazing in the first week learning all the hooks and crannies of their mad design and open schematics.
DacoTaco@lemmy.worldto Technology@lemmy.ml•Framework Laptop 13 gets Intel Core Ultra with a 120 Hz display, and cheaper AMD models6·1 year agoYoure right, but with framework the motherboard isnt hard connected to the connectors/ports of the laptop. Or any hardware really.
DacoTaco@lemmy.worldto Technology@lemmy.ml•Framework Laptop 13 gets Intel Core Ultra with a 120 Hz display, and cheaper AMD models21·1 year agoYes!
They have released multiple new mainboards for the framework 13 which upgraded the cpu. This is a new mainboard with the latest intel cpus. They have always allowed everyone to just buy the board so they can upgrade their existing framework 13’s, thats their whole stick : modularity.
This time they also have a new screen panel and battery you could get to upgrade your system.Also obviously new systems can be bought with the new hardware from the get go too.
I have a framework 16 that my boss got for me. Im a trial to see if we can save money by going framework instead of dell for the laptops developers use as things like the ports on the side, batteries and mainboards are easily replaced and upgraded. No need to waste +2600 euro every 3 years per laptop either if we can just swap the mainboard. They didnt want to finance the gpu, but when the laptop is mine after 3 years i will probably get the gpu for it :)
(In a framework 16 a gpu can be plugged in or replaced. Framework 13’s always use integrated gpu )
Dotmemory, dotpeek, ryder, … :)
I have yet to get my hands on any good memory profiler and il decompiler in vs/vscode that didnt suck.
Ilspy/dnspy for il stuff, dotmemory is my go to for profiling.
Source : im a .net/c# desktop developer
Me during code reviews of other people