On Tue, Jun 25, 2024, at 5:00 PM, Anselm Garbe wrote:
> I wonder why you didn't look into golang.
Garbage collection. For a "better C" I don't want garbage collection. And if
I am going to use a higher level language that *does* have garbage collection,
Go has not impressed me so far. I'd
On Fri Jun 21, 2024 at 11:45 AM -03, Greg Reagle wrote:
> I have looked into numerous language: Rust, Pascal, Ada, V, Hare,
> Zig, D, and others I am probably forgetting. I have not become an
> expert in these languages but read tutorials. And I have written
> small programs (like cal) in a
Hi there,
On Fri, Jun 21, 2024 at 8:21 AM Greg Reagle wrote:
> I have looked into numerous language: Rust, Pascal, Ada, V, Hare, Zig, D,
> and others I am probably forgetting. I have not become an expert in these
> languages but read tutorials. And I have written small programs (like cal)
NRK wrote:
> I won't comment on the other languages mentioned because my view on
> nearly all of them is negative. But most of my "safety and ease of use"
> with C I've been able to solve by just building better "primitives"
> instead of changing language - which comes with significant cost such
On 2024-06-22 03:58:46 +, NRK wrote:
> Sized strings
> -
>
> typedef struct {
> uint8_t *s; // or you can use `(unsigned) char *`
> ptrdiff_t len; // or you can use `size_t`, see explanation
> below
> } Str;
>
> * Cheap access to the
Hello Friend,
On 06/21/24 10:45AM, Greg Reagle wrote:
> I am not a fan of C because of problems like buffer overflows; weakly typed
> arrays; lack of (built-in) range checking for enumerations, numeric types,
> arrays; lack of overflow checking; string handling being too complex.
> Basically
NRK wrote:
> Below are two of the most impactful changes. I was going to elaborate on
> these but it was getting *really* long very quickly so I've kept it to a
> brief overview followed by a real-world project that demonstrates these
> techniques.
I completely agree. Since trying sized
On Fri, Jun 21, 2024 at 10:45:01AM -0400, Greg Reagle wrote:
> Basically what you might call "safety and ease issues."
I won't comment on the other languages mentioned because my view on
nearly all of them is negative. But most of my "safety and ease of use"
with C I've been able to solve by just
On Fri, Jun 21, 2024 at 06:48:53PM +0200, Страхиња Радић wrote:
> Дана 24/06/21 10:45AM, Greg Reagle написа:
> > Rust also has some good safety and ease-of-use features. It is very
> > big and complex with a lot of features (compared to C).
>
> Previous thread, now necroed:
>
>
Дана 24/06/21 10:45AM, Greg Reagle написа:
> Rust also has some good safety and ease-of-use features. It is very
> big and complex with a lot of features (compared to C).
Previous thread, now necroed:
https://lists.suckless.org/dev/2104/34265.html
* * *
Rust sucks. It was made by Big Tech
Warm greetings to my fellow programmers and lovers of elegant simplicity. I
wrote the sbase cal program in Pascal for fun, learning, experimentation. I
have also written it in Rust and Ada, for the same reasons.
I recently started re-learning Pascal (which I learned in high school) using
11 matches
Mail list logo