Thread View: comp.lang.fortran
508 messages
508 total messages
Page 11 of 11
Started by Lynn McGuire
Wed, 14 Oct 2026 04:18
Page 11 of 11 • 508 total messages
Re: “The end of software secrecy is almost upon
Author: Steven G. Kargl
Date: Thu, 22 Oct 2026 01:16
Date: Thu, 22 Oct 2026 01:16
46 lines
3299 bytes
3299 bytes
On Thu, 22 Oct 2026 00:24:48 -0000 (UTC), Lawrence D’Oliveiro wrote: > On Wed, 21 Oct 2026 13:27:48 -0000 (UTC), Thomas Koenig wrote: > >> Lawrence D’Oliveiro <ldo@nz.invalid> schrieb: >>> >>> On Wed, 21 Oct 2026 07:42:30 -0000 (UTC), boltar wrote: >>> >>>> On Wed, 21 Oct 2026 01:29:18 -0000 (UTC), Lawrence D’Oliveiro wrote: >>>>> >>>>> On Tue, 20 Oct 2026 17:24:27 -0000 (UTC), boltar wrote: >>>>> >>>>>> ** The setting a flag method which has to be checked in every >>>>>> nested loop test is just an [asinine] way to code. >>>>> >>>>> If you have to do cleanup at each level before exiting, then it >>>>> works perfectly well. >>>> >>>> It may well work but it doesn't make it good. Its harder to follow >>>> - whereas a goto out of a deeply nested loops is blindingly >>>> obvious - and its less efficient. >>> >>> The goto from the deep inner block to the outer one is “blindingly >>> obvious” ... ly wrong. >>> >>> What about the cleanup? >> >> What cleanup, exactly? We are talking Fortran, remember. > > The principle applies to Fortran as it does to any language where you > have to explicitly manage storage allocations. Fortran 77 does not have dynamic memory allocation. So, again, how *exactly* does using GOTO to break out of a Fortran 77 do loop require cleanup? With Fortran 90 (or newer version), even if one using some dynamic memory allocation, what is the cleanup you envision that is required if one break out of a do-loop with GOTO? PS: Both Thomas and I have made substantial code contributions to gfortran, so we must be missing something crucial. PPS: trimmed newsgroups to only c.l.f. -- steve
Re: “The end of software secrecy is almost upon
Author: Harold Stevens
Date: Mon, 26 Oct 2026 20:31
Date: Mon, 26 Oct 2026 20:31
18 lines
1921 bytes
1921 bytes
[froups trimmed to CLF] In <20261026220901.00005fbd@yahoo.com> Michael S: [Snip...] > Your pretense that you know something about it is not o.k. > In that regard you are not better than LDO. +1 Extraordinarily adept thread-wreckers those two, Luke Skywalker. -- Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS * Pardon any bogus email addresses (wookie) in place for spambots. Really, it's (wyrd) at att, dotted with net. * DO NOT SPAM IT. * I toss (404) GoogleGroup (404 http://twovoyagers.com/improve-usenet.org/).
Re: “The end of software secrecy is almost upon
Author: Gary Scott
Date: Wed, 04 Nov 2026 20:17
Date: Wed, 04 Nov 2026 20:17
34 lines
3313 bytes
3313 bytes
On 11/4/2026 1:53 PM, boltar@caprica.universe wrote: > On Wed, 4 Nov 2026 10:56:20 -0800 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 11/4/2026 8:22 AM, boltar@caprica.universe wrote: >>> On Wed, 4 Nov 2026 02:22:52 -0800 >>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>> On 11/4/2026 12:54 AM, boltar@caprica.universe wrote: >>>>> Seems to be your standard response to anyone you disagree with. Go >>>>> back under >>>>> your bridge. >>>>> >>>> >>>> Really? Why do you have a hatred for say, IOCP? If so, you must also >>>> HATE AIO, or io_uring? >>> >>> I never mentioned IOCP but looking at it, yeah, looks like your standard >>> Windows approach of chucking threads at everything. >>> >> >> Huh? You mean a thread pool, sometimes we can oversubscribe and use >> hardware threads * 2 > > I don't care if its a thread ocean, its still threads being used where > they're > possibly not needed. Obviously depends on load. But if I'm writing a client > such as ssh where the only I/O is via stdin and the socket I'm going to > multiplex them in select() or poll(), not have 2 seperate threads. > >> I don't think you should mock IOCP. Then you would be mocking AIO, or >> io_uring. > > I don't give a toss about IOCP, its a windows thing. I sometimes just reserve space in the page file and let the OS lazy write/read.
Re: “The end of software secrecy is almost upon
Author: Jeroen Belleman
Date: Wed, 04 Nov 2026 22:53
Date: Wed, 04 Nov 2026 22:53
59 lines
3851 bytes
3851 bytes
On 11/4/26 17:24, boltar@caprica.universe wrote: > On Wed, 4 Nov 2026 11:24:54 +0100 > Jeroen Belleman <jeroen@nospam.please> gabbled: >> On 11/4/26 09:48, boltar@caprica.universe wrote: >>> On Mon, 02 Nov 2026 16:51:47 GMT >>> Charlie Gibbs <cgibbs@kltpzyxm.invalid> gabbled: >>>> On 2026-11-02, boltar@caprica.universe <boltar@caprica.universe> wrote: >>>> >>>>> On Sun, 1 Nov 2026 21:59:41 +0200 >>>>> >>>>> Michael S <already5chosen@yahoo.com> gabbled: >>>>> >>>>>> On Sun, 1 Nov 2026 08:32:42 -0000 (UTC) >>>>>> boltar@caprica.universe wrote: >>>>>> >>>>>>> On this one where you see code that is only multithreaded in >>>>>>> order to >>>>>>> serve individual sockets, not because it needs to be. >>>>>> >>>>>> That's because many people unable to implement state machines. Or >>>>>> able, >>>>>> but don't like them. >>>>>> It has nothing to do with availability and functionality of >>>>>> select/poll >>>>>> on Windows. >>>>> >>>>> Last time I had the misfortune to use win32 it couldn't multiplex on >> sockets. >>>> >>>> >>>> By "multiplex on sockets" do you mean supporting more then one >>>> connection >>>> on a single socket? Serious question here: could you tell me how >>>> this can >>>> be useful? >>> >>> No I don't mean that and I can't be bother explaining what >>> multiplexing means >> >>> to someone who's clearly never used it. >>> >> >> Don't be so smug. You could at least give him a hint. >> If you bother enough to reply, you might as well show >> that you know. > > Right, because typing "IO multiplexing" into google or an AI is such an > arduous task. > That's fine too, as a hint, no issue there. 'Multiplexing' is a copiously overloaded concept, so a little bit of help to steer him into the right direction is not out of place. Let's leave it at that. Jeroen Belleman
Re: “The end of software secrecy is almost upon
Author: Michael S
Date: Fri, 06 Nov 2026 13:38
Date: Fri, 06 Nov 2026 13:38
70 lines
4246 bytes
4246 bytes
On Wed, 4 Nov 2026 23:53:55 +0100 Jeroen Belleman <jeroen@nospam.please> wrote: > On 11/4/26 17:24, boltar@caprica.universe wrote: > > On Wed, 4 Nov 2026 11:24:54 +0100 > > Jeroen Belleman <jeroen@nospam.please> gabbled: > >> On 11/4/26 09:48, boltar@caprica.universe wrote: > >>> On Mon, 02 Nov 2026 16:51:47 GMT > >>> Charlie Gibbs <cgibbs@kltpzyxm.invalid> gabbled: > >>>> On 2026-11-02, boltar@caprica.universe <boltar@caprica.universe> > >>>> wrote: > >>>>> On Sun, 1 Nov 2026 21:59:41 +0200 > >>>>> > >>>>> Michael S <already5chosen@yahoo.com> gabbled: > >>>>> > >>>>>> On Sun, 1 Nov 2026 08:32:42 -0000 (UTC) > >>>>>> boltar@caprica.universe wrote: > >>>>>> > >>>>>>> On this one where you see code that is only multithreaded in > >>>>>>> order to > >>>>>>> serve individual sockets, not because it needs to be. > >>>>>> > >>>>>> That's because many people unable to implement state machines. > >>>>>> Or able, > >>>>>> but don't like them. > >>>>>> It has nothing to do with availability and functionality of > >>>>>> select/poll > >>>>>> on Windows. > >>>>> > >>>>> Last time I had the misfortune to use win32 it couldn't > >>>>> multiplex on > >> sockets. > >>>> > >>>> > >>>> By "multiplex on sockets" do you mean supporting more then one > >>>> connection > >>>> on a single socket? Serious question here: could you tell me > >>>> how this can > >>>> be useful? > >>> > >>> No I don't mean that and I can't be bother explaining what > >>> multiplexing means > >> > >>> to someone who's clearly never used it. > >>> > >> > >> Don't be so smug. You could at least give him a hint. > >> If you bother enough to reply, you might as well show > >> that you know. > > > > Right, because typing "IO multiplexing" into google or an AI is > > such an arduous task. > > > > That's fine too, as a hint, no issue there. > > 'Multiplexing' is a copiously overloaded concept, so a little > bit of help to steer him into the right direction is not out > of place. > > Let's leave it at that. > > Jeroen Belleman Unless you didn't pay attention yet, boltar is asshole and proud at that. Or arshole? I'm not sure what is a correct spelling in his area.
Re: “The end of software secrecy is almost upon
Author: boltar
Date: Fri, 06 Nov 2026 16:39
Date: Fri, 06 Nov 2026 16:39
20 lines
2495 bytes
2495 bytes
On Fri, 6 Nov 2026 15:38:55 +0200 Michael S <already5chosen@yahoo.com> gabbled: >On Wed, 4 Nov 2026 23:53:55 +0100 >Jeroen Belleman <jeroen@nospam.please> wrote: >> 'Multiplexing' is a copiously overloaded concept, so a little >> bit of help to steer him into the right direction is not out >> of place. >>=20 >> Let's leave it at that. >>=20 >> Jeroen Belleman > >Unless you didn't pay attention yet, boltar is asshole and proud at >that. >Or arshole? I'm not sure what is a correct spelling in his area. Neither, but don't worry about it. When you've finished your little sucky thumb tantrum maybe mummy will pick up all the toys around your pram for you.
Re: “The end of software secrecy is almost upon us”
Author: Chris M. Thomasson
Date: Sat, 07 Nov 2026 03:22
Date: Sat, 07 Nov 2026 03:22
47 lines
3649 bytes
3649 bytes
On 11/2/2026 11:15 PM, Charlie Gibbs wrote: > On 2026-11-03, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote: > >> On 11/2/2026 6:42 PM, Charlie Gibbs wrote: >> >>> On 2026-11-02, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote: >>> >>>> On 11/1/2026 11:40 AM, Charlie Gibbs wrote: >>>> >>>>> I was already setting the socket to non-blocking before calling >>>>> connect() - and yet there were times when the API blocked anyway. >>>>> I never did figure out why, and we had a customer getting impatient, >>>>> so I just spun off another thread and moved on to other things. >>>> >>>> connect? On Windows we use ConnectEx. >>>> >>>> https://learn.microsoft.com/en-us/windows/win32/api/mswsock/nc-mswsock-lpfn_connectex >>>> >>>> For accept, AcceptEx: >>>> >>>> https://learn.microsoft.com/en-us/windows/win32/api/mswsock/nf-mswsock-acceptex >>> >>> Ah, but then we come to that critical clause: >>> >>> Note This function is a Microsoft-specific extension to the Windows Sockets specification. >>> >>> Yes, one more attempt to close the open socket model with >>> Microsoft proprietary extensions. My code has to run under >>> Linux as well. Opening the socket in a separate thread is >>> guaranteed to avoid hangs, regardless of operating system. >> >> These are for high performance systems. But, they solve a lot of >> problems. Say your program starts to gain a lot of users? > > In our environment that should never happen. then using the high performance API's is not necessary for your "current" use case. But, well, what happens if it does happen? > The only legitimate > users are those that are other elements of our software package. > Any others (or too many seemingly legitimate users) get a rejection > message, followed by disconnection. >
Page 11 of 11 • 508 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads