- Joined
- Mar 28, 2023
Don't forget about atomicity thoughView attachment 8324598
There's this evergreen chart for thread safety, I use all the time.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Don't forget about atomicity thoughView attachment 8324598
There's this evergreen chart for thread safety, I use all the time.
Hasn't Scala been superseded by either Haskell or Kotlin+Arrow?Scala is way more pragmatic than Haskell
Well, if you only share immutable data, it is by definition atomic.Don't forget about atomicity though
Replacing existing software is indeed almost never viable. Though, new developments in rust is very much possible. But the "rewrite it in rust" troons make the whole language seem worse than it is.I'm still brand new to programming and its just a fun hobby but I watched a video on why C++ is the Worst Programming Language in the World(from a C++ developer) and it made me realize how delusional the Rust troons really are and how ignorant the corporations like Microsoft are about replacing C / C++ code with Rust. Replacing C with Rust alone is a massive undertaking for large scale systems but is possible but they are 100% delusional if they think they can simply "replace" C++ code with Rust. First of all C++ is horrifyingly complicated, verbose, bloated with years of technical debt and has the most foot guns of any language out there. Second Rust is not a full OOP language and to my understanding lacks some key features that C++ often relies on or spams like inheritance. C++ devs spend decades learning how to do production C++ and all of them hate it and yet these Rust troons think their magic tranny language is going to easily replace it?
Good luck lol
"all of them hate it" is the sentiment of someone drinking the Kool-Aid. Self-hating retards like troons and white liberals have no problem eating the internal inconsistency, as they hate themselves for good reason, but sane devs consider how sustainable their careers are. If I was forced to develop in a compiled-OOP style, C++ would be my choice. C# isn't bad, but .NET is really showing its age.C++ devs spend decades learning how to do production C++ and all of them hate it
It’s replacing them, but at what cost?"all of them hate it" is the sentiment of someone drinking the Kool-Aid. Self-hating retards like troons have no problem eating the internal inconsistency, as they hate themselves for good reason, but sane devs consider how sustainable their careers are. If I was forced to develop in a compiled-OOP style, C++ would be my choice. C# isn't bad, but .NET is really showing its age.
One of the good things about Rust is that it's deprecating a lot of OOP styles, as well as deprecating compiled-VM corpo-langs like Java and C#.
.net feels mature, rather than limiting to me. Certainly better than the JVM IMO.C# isn't bad, but .NET is really showing its age.
At present, as a Gentoo user, I experience zero operational reasons to prefer one over the other. They both "just work" and behave maturely. I have a preference for C# because I've spent more time working on C# projects but Java's rough edges have gotten nerfed hard by eg. Kotlin etc. I agree about the "mature" angle, I just think Java is as qualified on those terms..net feels mature, rather than limiting to me. Certainly better than the JVM IMO.
For me, the biggest reason to prefer .net over the JVM is reified generics. (altough, me preferring ML style languages over LISP style languages doesn't help JVM either). For example, you can't check the "T" type of an empty List<T> in java.At present, as a Gentoo user, I experience zero operational reasons to prefer one over the other. They both "just work" and behave maturely. I have a preference for C# because I've spent more time working on C# projects but Java's rough edges have gotten nerfed hard by eg. Kotlin etc. I agree about the "mature" angle, I just think Java is as qualified on those terms.
>no longer have to worry about sprawling inheritance hierarchiesIt’s replacing them, but at what cost?
btw theres also thisI came across this site by accident and it speaks to me on a deeper level:
I remember making a website with HTML and some Flash for an Infotech course in school. Everything was simple then, everything worked. Everything loaded fast because it needed to. Then came Javascript...and then came the Pajeets.
R.I.P old websites.
Superseded in what way?Hasn't Scala been superseded by either Haskell or Kotlin+Arrow?
Have you tried something like SeriLog? https://serilog.net/Has anyone here have experience with structured logging? (json rather than "normal" text in the logs)
I am trying to implement request based logging where I accumulate the relevant data throughout the request and just write it to console/log at the end of the request, rather than logging each individual step. So far I made a basic system work where I can now add data throughout the request to the httpcontext and serialize one object to get all the data. It's surprisingly ergonomic to use, tbh, as I can pretty much just find and replace the prior logging stuff.
No, seems like a nice library. In a real project I'd use that one, for sure. But I kinda wanna stick with my own for my project, because I think I'll learn more that way. Also, it seems like serilog still writes one log line per logging action, rather than collecting the log and writing it at the end.Have you tried something like SeriLog? https://serilog.net/
Member how people were promoting Gopher and Gemini as a simpler alternative to the normal internet? That was fun while it lasted.I came across this site by accident and it speaks to me on a deeper level:
I remember making a website with HTML and some Flash for an Infotech course in school. Everything was simple then, everything worked. Everything loaded fast because it needed to. Then came Javascript...and then came the Pajeets.
R.I.P old websites.
I've still got a Gopher hole. I once had a reader tell me mine was the only one that followed the standard properly. Most egregious is the use of theMember how people were promoting Gopher and Gemini as a simpler alternative to the normal internet? That was fun while it lasted.
i item type in menus, which is an extension where the selector string is used solely for its appearance and doesn't correspond to any kind of item.Yep.From what I remember, it was nice if you wanted to read blogs, but there wasn’t much else to do.
I should rant about Gemini sometime. All it amounts to is a formalization of the bastardizations to which people have been subjecting Gopher. So, Gopher has an item typeMuch simpler overall, but without that much loss of real functionality over the web, unlike Gemini/Gopher.
0 for text and 1 for menus, but jackasses will use menus to represent text documents that have a single line without the i item type, if that, sometimes solely for a useless back entry that's completely unnecessary. Every Gopher client must be able to go back from a text document, because there's no other way to do it, and making the text item type unusable solely because of this is clearly absurd. This Gemtext is nothing more than a formalization of this bullshit affecting menus with a different flavouring.