Article View: comp.lang.c
Article #48Re: will it be optimized?
From: Chris M. Thomasson
Date: Wed, 07 Oct 2026 20:56
Date: Wed, 07 Oct 2026 20:56
32 lines
2386 bytes
2386 bytes
On 10/7/2026 11:41 AM, fir wrote: > 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) > > > Well, when you are really bored.... Bust out some C++ and give GLM a go. Or, go into its code and port it to C? https://github.com/g-truc/glm
Technical Details
Message-ID:
<11a6blq$380ck$2@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> <11a63p7$34vce$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: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.c Subject: Re: will it be optimized? Date: Wed, 7 Oct 2026 13:56:25 -0700 Organization: A noiseless patient Spider Lines: 32 Message-ID: <11a6blq$380ck$2@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> <11a63p7$34vce$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 07 Oct 2026 20:56:26 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3408276"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/lcClEsqPDmqw45eAUqtpBf50/ocVCKBs="; posting-host="9e5dad94c1931ab85b8ca42122ca3b99" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:AIe9MijTEVozJuRVP4pwox6vWG8= sha256:fXOTmWlz9C2Dy/cxlz91fkuvrboq8OAIKh/7HqshRrU= sha1:V10c+ojAlqJq4HnQqVv2TOuIhDQ= sha256:A0rvw0MA78ozfx90l64McDdvphHNZL9rGNlpTWd/Diw= Content-Language: en-US In-Reply-To: <11a63p7$34vce$1@dont-email.me>