Comments by "Edward Cullen" (@edwardcullen1739) on "C Is Not A Language Anymore" video.
-
20
-
8
-
7
-
5
-
5
-
2
-
@andreipangi Opinions can be objectively wrong. You can have the opinion that Pi is 3, which would be wrong.
This is another example.
Again, it's not the C language that is the "protocol", it's the C function call interface and the syscall interface. As this varies by OS and C implementation, your assertion that other languages/runtimes would be "wrong" to implement their own syscall interface(s) is simply a demonstration of your lack of understanding of the subject.
Your assertion that it would "add a lot of bugs" is the silliest argument - all software is buggy, therefore, never write anything new, because it will have bugs. 🤦♂️
Breaking assumptions is precisely the point - people want to be able to write "pure Rust", rather than having to "switch to C".
Inter-code communication is precisely the issue and the desire to not have to do it. Again, this is all showing confusion about the topic and a general lack of understanding of what the real problems are.
C is a language specification that gives broad latitude to implementors to make their own decisions, based on their needs and the needs of the OS and hardware they're running on.
Failing to understand the distinction between the C language specification, a particular C implementation and the OS syscall interface (which can be accessed directly using assembly language), is the problem the OP has.
2
-
1
-
1
-
1