Article View: comp.lang.c
Article #35Re: will it be optimized?
From: fir
Date: Wed, 07 Oct 2026 18:41
Date: Wed, 07 Oct 2026 18:41
26 lines
2169 bytes
2169 bytes
bart pisze: > On 07/10/2026 13:45, fir wrote: > >> really c should have that >> 1) references like in c++ >> 2) adhoc damn enums /tags >> 3) builtin operators for float3 type > > That last is a very specific type for C. > > Why not go instead for a more general ability to be able to overload > operators for user-defined types? > > You know, like C++. > > Or maybe you can just use C++ because it's right there, and you use a > C++ compiler anyway. ye operator 'overloading' and references are good concepts.. here above i jut mentioned more modest changes that are needed (more specifically i mentioned those who anoy me practically when i code this rasterizer, and the lack of operators for float3 is heavy pain)
Technical Details
Message-ID:
<11a63p7$34vce$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11a1f4c$1g3sg$1@dont-email.me> <11a4qor$2kj95$1@dont-email.me> <11a50tk$2m3b3$2@dont-email.me> <11a5etj$2saav$1@dont-email.me> <11a5l3q$2urvl$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: fir <profesor.fir@gmail.com> Newsgroups: comp.lang.c Subject: Re: will it be optimized? Date: Wed, 7 Oct 2026 20:41:41 +0200 Organization: A noiseless patient Spider Lines: 26 Message-ID: <11a63p7$34vce$1@dont-email.me> References: <11a1f4c$1g3sg$1@dont-email.me> <11a4qor$2kj95$1@dont-email.me> <11a50tk$2m3b3$2@dont-email.me> <11a5etj$2saav$1@dont-email.me> <11a5l3q$2urvl$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 07 Oct 2026 18:41:44 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3308942"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19giyTjqd0a6ojjEhiZOo5W/c0LdX+y0Ao="; posting-host="f07c9b093bd94440653930cbb1e1ee13" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 SeaMonkey/2.53.24 Cancel-Lock: sha1:x9Iar8zSr+cyPBUG25u6zfvbEsg= sha256:sZwmj/kQ2drjyo7njCHouSVKLxk1UgIYx6sE1J45efw= sha1:UP9u3S425ALNc8xbOcZ+xctva5E= sha256:hna7XZHPs+vOBE/aUQkx6rP4xlXqGEDIJPpjW7xRTwI= In-Reply-To: <11a5l3q$2urvl$1@dont-email.me>