Thread View: alt.comp.lang.rust
514 messages
514 total messages
Page 5 of 11
Started by Lynn McGuire
Wed, 14 Oct 2026 04:18
Page 5 of 11 • 514 total messages
Re: “The end of software secrecy is almost upon
Author: James Kuyper
Date: Fri, 23 Oct 2026 14:21
Date: Fri, 23 Oct 2026 14:21
11 lines
2211 bytes
2211 bytes
On 2026-10-23 05:28, David Brown wrote: > On 22/10/2026 22:25, James Kuyper wrote: >> On 2026-10-22 12:02, Scott Lurndal wrote: >> ...> The C/C++ "Virtual Machine Model" as described in the language >>> specifications is an apple. ...> The term in both the C and C++ standards is "abstract machine", but I > think it was quite obvious that this is Dan meant when he wrote "virtual > machine". ... I suspected as much, but it seemed a sufficiently odd mistake that I wasn't sure.
Re: “The end of software secrecy is almost upon
Author: Peter Flass
Date: Fri, 23 Oct 2026 16:06
Date: Fri, 23 Oct 2026 16:06
30 lines
2954 bytes
2954 bytes
On 10/23/26 01:01, boltar@caprica.universe wrote: > On Thu, 22 Oct 2026 12:19:49 -0400 (EDT) > kludge@panix.com (Scott Dorsey) gabbled: >> In article <11bd7tj$rh4f$1@dont-email.me>, <boltar@battlestar.co.uk> wrote: >>> >>> Most of us have a CS degree. But then we go out into the real world, get a >>> job and find out what real programming on real products entails, not a load >>> of virtual academic naval gazing. >> >> That's because it's not a trade school degree. It's not there to teach >> you to program, it's there to teach you the fundamentals that you need to >> properly understand programming. > > No, it teaches you fundamentals of certain aspects of computer paradigms such > as databases, graphics, AI. Most people into computers learn actual programming > long before they hit university. > >> Engineering schools are even more that way. They don't teach you much >> engineering, but they give you all the background that you need to learn >> engineering. > > Programming isn't pure engineering - its a combination of engineering, logic, > art and a trade. > >> If you just want a job, getting one of these degrees is not for you. It's >> not there for that. > > Bill Gates never earned a degree. He seemed to do ok. From what I understand, he wasn't a very good programmer, though.
Re: “The end of software secrecy is almost upon
Author: Charlie Gibbs
Date: Fri, 23 Oct 2026 16:37
Date: Fri, 23 Oct 2026 16:37
17 lines
1841 bytes
1841 bytes
On 2026-10-23, Peter Flass <Peter@Iron-Spring.com> wrote: > On 10/23/26 01:01, boltar@caprica.universe wrote: > >> Bill Gates never earned a degree. He seemed to do ok. > > From what I understand, he wasn't a very good programmer, though. Considering how much of my career I've spent working around poor design decisions and outright bugs in Windows, I'd say that is self-evident. -- /~\ Charlie Gibbs | In this world there are \ / <cgibbs@kltpzyxm.invalid> | two kinds of people: X I'm really at ac.dekanfrus | 1. Those who can extrapolate / \ if you read it the right way. | from incomplete data.
Re: “The end of software secrecy is almost upon
Author: Peter Flass
Date: Fri, 23 Oct 2026 16:55
Date: Fri, 23 Oct 2026 16:55
28 lines
3119 bytes
3119 bytes
On 10/23/26 02:34, David Brown wrote: > On 23/10/2026 05:21, Lawrence D’Oliveiro wrote: >> On Thu, 22 Oct 2026 15:41:15 -0500, Lynn McGuire wrote: >> >>> I have been advocating for quite a while that C++ should add a user >>> interface programming model for quite a long time. >> >> First they need a standardized graphics API. >> > > I hope that never happens. There are large numbers of graphics APIs, > with huge ranges of what they support, how they work and their balance > between features, efficiency, portability, size, hardware support, and > what they are used for. > > People who think C++ should have a standardised graphics API usually > mean they want to standardise the API they use on the one application > type that they write. > > >> I gather there’s been a proposal that’s been kicking around for some >> years, to adopt something based on Cairo >> <https://www.cairographics.org/>. > You need something with subsets. At least a "basic" subset, a "full" subset, and something in between that satisfies most uses. Or maybe subsets for different purposes, but they should all be compatible.
Re: “The end of software secrecy is almost upon
Author: Peter Flass
Date: Fri, 23 Oct 2026 16:57
Date: Fri, 23 Oct 2026 16:57
65 lines
4160 bytes
4160 bytes
On 10/23/26 02:45, David Brown wrote:
> On 23/10/2026 08:25, Lawrence D’Oliveiro wrote:
>> On Thu, 22 Oct 2026 22:29:45 -0700, Chris M. Thomasson wrote:
>>
>>> On 10/22/2026 8:19 PM, Lawrence D’Oliveiro wrote:
>>>>
>>>> On Thu, 22 Oct 2026 07:26:21 -0700, Peter Flass wrote:
>>>>
>>>>> That's why I try to use PL/I AUTOMATIC (stack) storage and not
>>>>> allocate a lot of stuff. You need to have a disciplined approach
>>>>> if you allocate random stuff here and there.
>>>>
>>>> What if you’re building an object that needs to be returned to the
>>>> caller?
>>>
>>> Have the caller have the object before hand and call a function to
>>> initialize it?
>>
>> I’m assuming that all that BASIC programming hasn’t got to your head,
>> and you’re not serious. ;)
>
> Chris' wording is perhaps poor, but the principle is right.
>
> I don't know PL/I or Fortran, but in C if you have :
>
> typedef struct data_struct { int a; int xs[20]; } S ;
>
> S build_some_data(void) {
> S s;
>
> s.a = 123;
> for (int i = 0; i < 20; i++) s.xs[i] = i;
>
> return s;
> }
>
> void foo() {
> S s = build_some_data();
> }
>
>
> then it is typically handled as though you had written :
>
> void build_some_data(S * p) {
> p->a = 123;
> for (int i = 0; i < 20; i++) p->xs[i] = i;
>
> return;
> }
>
> void foo() {
> S s;
> build_some_data(&s);
> }
>
>
> That is - the caller creates the /space/ for the returned object, but
> does not do any kind of initialisation. It passes a pointer to that
> space as a hidden parameter to the function that wants to return the
> object.
>
> That principle should work fine in any language, as long as the size of
> the returned object is known by the caller code.
That last sentence is why it would not work fine,
Re: “The end of software secrecy is almost upon
Author: Cryptoengineer
Date: Fri, 23 Oct 2026 16:57
Date: Fri, 23 Oct 2026 16:57
47 lines
3652 bytes
3652 bytes
On 10/23/2026 5:18 AM, boltar@caprica.universe wrote: > On Fri, 23 Oct 2026 11:42:38 +0300 > Michael S <already5chosen@yahoo.com> gabbled: >> On Fri, 23 Oct 2026 08:05:13 -0000 (UTC) >> boltar@caprica.universe wrote: >> >>> On Thu, 22 Oct 2026 22:48:29 +0300 >>> Michael S <already5chosen@yahoo.com> gabbled: >>>> On Thu, 22 Oct 2026 14:51:31 -0000 (UTC) >>>> boltar@battlestar.co.uk wrote: >>>>>> I agree that the work for a CS degree is useful. If nothing else >>>>>> I understand more now. >>>>> >>>>> Most of us have a CS degree. >>>> >>>> I don't have it. >>>> How do you know about most? >>> >>> Oh I dunno, maybe 30 years in the industry working with probably >>> hundreds of different programmers. >>> >> >> My experience in industry beats yours by few years. >> And my statistics differ - CS graduates are not majority of computer >> programmers. At best, they are plurality. >> Regardless, the point was not industry, but audience of five particular >> newsgroups. > > Well, the majority of people in programming have some kind of STEM degree, > not necessarily CS. For example if you can do electronic engineering or > advance maths then programming concepts probably arn't going to be a big deal > for you though I have seen plenty of code written by engineers and while it > works it tends to be messy. More a case of get the job done fast so we can > get on with the real work rather than create something efficient and > maintainable. > I have a degree in Biochemistry, and spent 5 year in a medical research lab being professionally unpleasant to rats before switch careers to software. It helped that at that time (early 80s) almost no one had a CS degree. My wife never finished college, but had a very successful programming career regardless. pt
Re: “The end of software secrecy is almost upon
Author: John Ames
Date: Fri, 23 Oct 2026 17:32
Date: Fri, 23 Oct 2026 17:32
17 lines
2375 bytes
2375 bytes
On Fri, 23 Oct 2026 16:37:37 GMT Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote: > > > Bill Gates never earned a degree. He seemed to do ok. > > > > From what I understand, he wasn't a very good programmer, though. > > Considering how much of my career I've spent working around poor > design decisions and outright bugs in Windows, I'd say that is > self-evident. AFAIK you can't pin that one on him; the Tandy Model 100 was the last product he actually wrote code for, and that came out in '83, right at the beginning of development on Windows 1.0. Dunno that he did much on MS-DOS, either, as the core of that was Tim Paterson's work in, erm, "adapating" the design of CP/M to the 8086.
Re: Re: “The end of software secrecy is almost upon
Author: Scott Dorsey
Date: Fri, 23 Oct 2026 18:01
Date: Fri, 23 Oct 2026 18:01
12 lines
1468 bytes
1468 bytes
In article <11bf48l$skng$1@dont-email.me>, <boltar@caprica.universe> wrote: >>If you just want a job, getting one of these degrees is not for you. It's >>not there for that. > >Bill Gates never earned a degree. He seemed to do ok. He is the best example I can ever give for why having an actual CS degree is a good idea. His lack of understanding of some basic concepts set the microcomputer industry back a decade. --scott -- "C'est un Nagra. C'est suisse, et tres, tres precis."
Re: “The end of software secrecy is almost upon
Author: Scott Dorsey
Date: Fri, 23 Oct 2026 18:09
Date: Fri, 23 Oct 2026 18:09
15 lines
1676 bytes
1676 bytes
John Ames <commodorejohn@gmail.com> wrote: >AFAIK you can't pin that one on him; the Tandy Model 100 was the last >product he actually wrote code for, and that came out in '83, right at >the beginning of development on Windows 1.0. Dunno that he did much on >MS-DOS, either, as the core of that was Tim Paterson's work in, erm, >"adapating" the design of CP/M to the 8086. He continued doing code reviews well into the Win 7 era, and a lot of people wound up having to clean up after him. He was always very hands-on. I remember in 1978 him being the third tier tech support hotline for MBASIC bugs. He was incredibly rude. --scott -- "C'est un Nagra. C'est suisse, et tres, tres precis."
Re: Re: “The end of software secrecy is almost upon
Author: Scott Lurndal
Date: Fri, 23 Oct 2026 18:24
Date: Fri, 23 Oct 2026 18:24
60 lines
4042 bytes
4042 bytes
Cryptoengineer <petertrei@gmail.com> writes: >On 10/23/2026 5:18 AM, boltar@caprica.universe wrote: >> On Fri, 23 Oct 2026 11:42:38 +0300 >> Michael S <already5chosen@yahoo.com> gabbled: >>> On Fri, 23 Oct 2026 08:05:13 -0000 (UTC) >>> boltar@caprica.universe wrote: >>> >>>> On Thu, 22 Oct 2026 22:48:29 +0300 >>>> Michael S <already5chosen@yahoo.com> gabbled: >>>>> On Thu, 22 Oct 2026 14:51:31 -0000 (UTC) >>>>> boltar@battlestar.co.uk wrote: >>>>>>> I agree that the work for a CS degree is useful. If nothing else >>>>>>> I understand more now. >>>>>> >>>>>> Most of us have a CS degree. >>>>> >>>>> I don't have it. >>>>> How do you know about most? >>>> >>>> Oh I dunno, maybe 30 years in the industry working with probably >>>> hundreds of different programmers. >>>> >>> >>> My experience in industry beats yours by few years. >>> And my statistics differ - CS graduates are not majority of computer >>> programmers. At best, they are plurality. >>> Regardless, the point was not industry, but audience of five particular >>> newsgroups. >> >> Well, the majority of people in programming have some kind of STEM degree, >> not necessarily CS. For example if you can do electronic engineering or >> advance maths then programming concepts probably arn't going to be a big deal >> for you though I have seen plenty of code written by engineers and while it >> works it tends to be messy. More a case of get the job done fast so we can >> get on with the real work rather than create something efficient and >> maintainable. >> > >I have a degree in Biochemistry, and spent 5 year in a medical research >lab being professionally unpleasant to rats before switch careers to >software. > >It helped that at that time (early 80s) almost no one had a CS degree. I got my BSCS in 1983 (which included two years of postgrad CS classes[*]). Never was laid off, and got to work on very advanced projects for the next forty-plus years, many of which leveraged the postgrad coursework (mainframe OS, crypto, distributed systems, MPP systems, virtual machines, etc). [*] three years learning the PDP-8 and HP-3000 architectures and associated languages (self-taught) during High School resulted in blowing through the undergraduate CS requirements by the end of my sophmore year. The postgrad classes were particularly useful, as they were taught from contemporary journal articles (Lamport, Diffie-Hellman, RSA, Hoare (CSP), et alia). Most of my age-mate colleagues at Burroughs Pasadena plant in the 1980s also had CS or EE/CS degrees (mostly from midwestern colleges).
Re: “The end of software secrecy is almost upon
Author: John Ames
Date: Fri, 23 Oct 2026 19:02
Date: Fri, 23 Oct 2026 19:02
10 lines
1946 bytes
1946 bytes
On Fri, 23 Oct 2026 14:09:23 -0400 (EDT) kludge@panix.com (Scott Dorsey) wrote: > He continued doing code reviews well into the Win 7 era, and a lot of > people wound up having to clean up after him. He was always very > hands-on. I remember in 1978 him being the third tier tech support > hotline for MBASIC bugs. He was incredibly rude. Hm, the more you know...!
Re: “The end of software secrecy is almost upon
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 19:19
Date: Fri, 23 Oct 2026 19:19
32 lines
3244 bytes
3244 bytes
On Fri, 23 Oct 2026 09:02:50 -0700, Peter Flass wrote: > On 10/22/26 22:29, Chris M. Thomasson wrote: >> >> On 10/22/2026 8:19 PM, Lawrence D’Oliveiro wrote: >>> >>> On Thu, 22 Oct 2026 07:26:21 -0700, Peter Flass wrote: >>> >>>> That's why I try to use PL/I AUTOMATIC (stack) storage and not >>>> allocate a lot of stuff. You need to have a disciplined approach >>>> if you allocate random stuff here and there. >>> >>> What if you’re building an object that needs to be returned to the >>> caller? >> >> Have the caller have the object before hand and call a function to >> initialize it? > > That obviously wouldn't work, since then the caller would have to > know something about the object beforehand. And what if the object didn’t consist of just *one* dynamically-allocated block, but needed links to other blocks as well? What if it needed objects dynamically allocated by other APIs, the details of which are internal to those APIs? Is the caller required to know about all these implementation details? In short, the concept doesn’t scale, because it completely breaks the concept of data abstraction. And it just pushes the dynamic-allocation problem elsewhere, without making it easier.
Re: “The end of software secrecy is almost upon
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 19:20
Date: Fri, 23 Oct 2026 19:20
26 lines
3038 bytes
3038 bytes
On Fri, 23 Oct 2026 05:54:44 -0000 (UTC), Steven G. Kargl wrote: > On Fri, 23 Oct 2026 04:22:13 -0000 (UTC), Lawrence D’Oliveiro wrote: > >> On Fri, 23 Oct 2026 04:10:39 -0000 (UTC), Steven G. Kargl wrote: >> >>> On Fri, 23 Oct 2026 03:33:44 -0000 (UTC), Lawrence D’Oliveiro wrote: >>>> >>>> So you can see there is no way out of the inner block without passing >>>> through the dispose call. >>> >>> 'break' is just another name for 'goto label'. >>> >>>> Using gotos would contribute nothing except make it harder to >>>> assure yourself of the simplicity of the control flow. >> >>> PS: We're still waiting on a definition of "storage allocation" >>> >>>> ... allocate object pointer ... >>>> > > Nice use of quoting without adding context. Just pointing out (in case you didn’t notice) that the points you were raising were already addressed in the posting you were (supposedly) replying to ...
Re: “The end of software secrecy is almost upon us"
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 19:25
Date: Fri, 23 Oct 2026 19:25
24 lines
2934 bytes
2934 bytes
On Fri, 23 Oct 2026 09:55:48 -0700, Peter Flass wrote: > On 23/10/2026 05:21, Lawrence D’Oliveiro wrote: >> >> On Thu, 22 Oct 2026 15:41:15 -0500, Lynn McGuire wrote: >> >>> I have been advocating for quite a while that C++ should add a >>> user interface programming model for quite a long time. >> >> First they need a standardized graphics API. > >> I gather there’s been a proposal that’s been kicking around for >> some years, to adopt something based on Cairo >> <https://www.cairographics.org/>. > > You need something with subsets. At least a "basic" subset, a "full" > subset, and something in between that satisfies most uses. Or maybe > subsets for different purposes, but they should all be compatible. Cairo is not exactly a large API, you know. And it already has a full open-source implementation that can be copied. For reference, I had the basics of my pure-Python wrapper <https://gitlab.com/ldo/qahirah> working in about the first 3 weeks.
Re: “The end of software secrecy is almost upon us"
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 19:30
Date: Fri, 23 Oct 2026 19:30
25 lines
2580 bytes
2580 bytes
On Fri, 23 Oct 2026 16:37:37 GMT, Charlie Gibbs wrote: > On 2026-10-23, Peter Flass <Peter@Iron-Spring.com> wrote: > >> On 10/23/26 01:01, boltar@caprica.universe wrote: >> >>> Bill Gates never earned a degree. He seemed to do ok. >> >> From what I understand, he wasn't a very good programmer, though. > > Considering how much of my career I've spent working around poor > design decisions and outright bugs in Windows, I'd say that is > self-evident. Remember that current “Windows” actually means “Windows NT”. Which was primarily the brainchild of Dave Cutler, who came from the nest of Unix-haters at DEC. Perhaps it was the corporate culture with Bill Gates at the helm that attracted Cutler to Microsoft. But look at some of the boneheaded decisions he made (or propagated from old DOS-based Windows), just so NT wouldn’t look like Unix, which continue to haunt Microsoft to this day. In short, Gates couldn’t have done what Microsoft achieved on his own.
Re: “The end of software secrecy is almost upon
Author: Steven G. Kargl
Date: Fri, 23 Oct 2026 19:38
Date: Fri, 23 Oct 2026 19:38
37 lines
3641 bytes
3641 bytes
On Fri, 23 Oct 2026 19:20:50 -0000 (UTC), Lawrence D’Oliveiro wrote: > On Fri, 23 Oct 2026 05:54:44 -0000 (UTC), Steven G. Kargl wrote: >> On Fri, 23 Oct 2026 04:22:13 -0000 (UTC), Lawrence D’Oliveiro wrote: >>> On Fri, 23 Oct 2026 04:10:39 -0000 (UTC), Steven G. Kargl wrote: >>>> On Fri, 23 Oct 2026 03:33:44 -0000 (UTC), Lawrence D’Oliveiro wrote: >>>>> So you can see there is no way out of the inner block without passing >>>>> through the dispose call. >>>> >>>> 'break' is just another name for 'goto label'. >>>> >>>>> Using gotos would contribute nothing except make it harder to >>>>> assure yourself of the simplicity of the control flow. >>> >>>> PS: We're still waiting on a definition of "storage allocation" >>>> >>>>> ... allocate object pointer ... >>>>> >> >> Nice use of quoting without adding context. > > Just pointing out (in case you didn’t notice) that the points you were > raising were already addressed in the posting you were (supposedly) > replying to ... And, we are still waiting for your definition of "storage allocation" and its needed cleanup in the context of Fortran 77. It as been pointed out to you multiple times that Fortran 77 does not have dynamic memory allocation. Fortran 77 does not have pointers and it does not have objects. So, what is this mythical cleanup of storage allocation in Fortran 77? It's okay to admit that you were making a some generalization that does not apply to Fortran 77. -- steve
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 19:48
Date: Fri, 23 Oct 2026 19:48
28 lines
3080 bytes
3080 bytes
On 10/22/2026 11:27 PM, Lawrence D’Oliveiro wrote: > On Thu, 22 Oct 2026 22:31:07 -0700, Chris M. Thomasson wrote: > >> On 10/22/2026 8:21 PM, Lawrence D’Oliveiro wrote: >>> >>> On Thu, 22 Oct 2026 15:41:15 -0500, Lynn McGuire wrote: >>> >>>> I have been advocating for quite a while that C++ should add a >>>> user interface programming model for quite a long time. >>> >>> First they need a standardized graphics API. >>> >>> I gather there’s been a proposal that’s been kicking around for >>> some years, to adopt something based on Cairo >>> <https://www.cairographics.org/>. >> >> That's a fairly decent one. > > It is (based on PostScript but goes beyond it), but the draft proposal > I’ve seen is somewhat butchered. No text/font API, for a start. > > The JavaScript browser-based 2D Canvas API is also based on Cairo, and > that was also butchered, albeit in a different way. Fwiw, Cairo is up on vcpkg, so its really easy to build and integrate with any MSVC project. https://vcpkg.io/en/package/cairo
Re: “The end of software secrecy is almost upon
Author: Lynn McGuire
Date: Fri, 23 Oct 2026 19:49
Date: Fri, 23 Oct 2026 19:49
45 lines
3284 bytes
3284 bytes
On 10/23/2026 11:06 AM, Peter Flass wrote: > On 10/23/26 01:01, boltar@caprica.universe wrote: >> On Thu, 22 Oct 2026 12:19:49 -0400 (EDT) >> kludge@panix.com (Scott Dorsey) gabbled: >>> In article <11bd7tj$rh4f$1@dont-email.me>, <boltar@battlestar.co.uk> >>> wrote: >>>> >>>> Most of us have a CS degree. But then we go out into the real world, >>>> get a >>>> job and find out what real programming on real products entails, not >>>> a load >>>> of virtual academic naval gazing. >>> >>> That's because it's not a trade school degree. It's not there to teach >>> you to program, it's there to teach you the fundamentals that you >>> need to >>> properly understand programming. >> >> No, it teaches you fundamentals of certain aspects of computer >> paradigms such >> as databases, graphics, AI. Most people into computers learn actual >> programming >> long before they hit university. >> >>> Engineering schools are even more that way. They don't teach you much >>> engineering, but they give you all the background that you need to learn >>> engineering. >> >> Programming isn't pure engineering - its a combination of engineering, >> logic, >> art and a trade. >> >>> If you just want a job, getting one of these degrees is not for you. >>> It's >>> not there for that. >> >> Bill Gates never earned a degree. He seemed to do ok. > > From what I understand, he wasn't a very good programmer, though. Bill Gates wrote the Microsoft Basic compiler and interpreter for the Altair 8080 in 2K of ram using assembly language. Take that as you will. Lynn
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 19:55
Date: Fri, 23 Oct 2026 19:55
41 lines
3513 bytes
3513 bytes
On 10/23/2026 2:34 AM, David Brown wrote: > On 23/10/2026 05:21, Lawrence D’Oliveiro wrote: >> On Thu, 22 Oct 2026 15:41:15 -0500, Lynn McGuire wrote: >> >>> I have been advocating for quite a while that C++ should add a user >>> interface programming model for quite a long time. >> >> First they need a standardized graphics API. >> > > I hope that never happens. There are large numbers of graphics APIs, > with huge ranges of what they support, how they work and their balance > between features, efficiency, portability, size, hardware support, and > what they are used for. > > People who think C++ should have a standardised graphics API usually > mean they want to standardise the API they use on the one application > type that they write. > > >> I gather there’s been a proposal that’s been kicking around for some >> years, to adopt something based on Cairo >> <https://www.cairographics.org/>. > Fwiw, vcpkg has a lot of them, ready to automatically build and integrate. vcpkg is actually... Well, its pretty nice and so far... Seems to work for me. Want to use Cairo, just do it. https://vcpkg.io/en/package/cairo Actually vcpkg just builds the sucker. No manually installing mingw and/or cygwin or whatever fiddling on windows. Ugggg... Iirc, I think Bart got pissed off about manually building and/or installing certain things on Windows. Don't get me wrong, it was a bitch! But, vcpkg can help for sure. So far, works pretty damn nice.
Re: “The end of software secrecy is almost upon
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 19:56
Date: Fri, 23 Oct 2026 19:56
12 lines
2384 bytes
2384 bytes
On Fri, 23 Oct 2026 12:48:58 -0700, Chris M. Thomasson wrote: > Fwiw, Cairo is up on vcpkg, so its really easy to build and > integrate with any MSVC project. > > https://vcpkg.io/en/package/cairo Do you get Fontconfig and FreeType as well? I thought Windows had native equivalents to all this functionality anyway, yet here you are, reimplementing the entire Free Software stack in parallel to it.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 19:57
Date: Fri, 23 Oct 2026 19:57
28 lines
3074 bytes
3074 bytes
On 10/22/2026 11:27 PM, Lawrence D’Oliveiro wrote: > On Thu, 22 Oct 2026 22:31:07 -0700, Chris M. Thomasson wrote: > >> On 10/22/2026 8:21 PM, Lawrence D’Oliveiro wrote: >>> >>> On Thu, 22 Oct 2026 15:41:15 -0500, Lynn McGuire wrote: >>> >>>> I have been advocating for quite a while that C++ should add a >>>> user interface programming model for quite a long time. >>> >>> First they need a standardized graphics API. >>> >>> I gather there’s been a proposal that’s been kicking around for >>> some years, to adopt something based on Cairo >>> <https://www.cairographics.org/>. >> >> That's a fairly decent one. > > It is (based on PostScript but goes beyond it), but the draft proposal > I’ve seen is somewhat butchered. No text/font API, for a start. > > The JavaScript browser-based 2D Canvas API is also based on Cairo, and > that was also butchered, albeit in a different way. For a gui, a pretty good one for opengl, directx, etc, is imgui. vcpkg has it as well: https://vcpkg.io/en/package/imgui
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 19:58
Date: Fri, 23 Oct 2026 19:58
20 lines
2634 bytes
2634 bytes
On 10/23/2026 1:03 AM, boltar@caprica.universe wrote: > On Thu, 22 Oct 2026 16:22:30 -0000 (UTC) > cross@spitfire.i.gajendra.net (Dan Cross) gabbled: >> In article <11bd7rg$2cvfs$1@dont-email.me>, <boltar@battlestar.co.uk> wrote: >>> You need an OS to do threading properly too. Theres a reason green threads >>> in java were a joke. >> >> Weird that you think you need a operating system for threads, >> yet you want C to standardize processes which also ... need an >> operating system. I mean, POSIX already does an ok job of >> standardizing the sorts of process-y things you would expect >> from, you know, an operating system. > > I'm simply pointing out the inconsistency in having a threading library but > not a process library. Its perfectly possible to simulate a multiprocess > enviroment. How do you think pure software versions of virtual machines work? > Well, a process lib needs to have certain things. Imvvho, at least access to robust mutex?
Re: “The end of software secrecy is almost upon us"
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 19:59
Date: Fri, 23 Oct 2026 19:59
12 lines
2103 bytes
2103 bytes
On Fri, 23 Oct 2026 14:49:23 -0500, Lynn McGuire wrote: > Bill Gates wrote the Microsoft Basic compiler and interpreter for > the Altair 8080 in 2K of ram using assembly language. Take that as > you will. Did he do that on his own? Or did Paul Allen do some or possibly even most or all of the work? And how do you explain that Microsoft Windows (both the old DOS-based Windows and current NT-based Windows) manages to carry over so many bits of cruft from the 8-bit era, when it never ran on 8-bit machines?
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 20:02
Date: Fri, 23 Oct 2026 20:02
38 lines
3279 bytes
3279 bytes
On 10/23/2026 1:01 AM, boltar@caprica.universe wrote: > On Thu, 22 Oct 2026 12:19:49 -0400 (EDT) > kludge@panix.com (Scott Dorsey) gabbled: >> In article <11bd7tj$rh4f$1@dont-email.me>, <boltar@battlestar.co.uk> wrote: >>> >>> Most of us have a CS degree. But then we go out into the real world, get a >>> job and find out what real programming on real products entails, not a load >>> of virtual academic naval gazing. >> >> That's because it's not a trade school degree. It's not there to teach >> you to program, it's there to teach you the fundamentals that you need to >> properly understand programming. > > No, it teaches you fundamentals of certain aspects of computer paradigms such > as databases, graphics, AI. Most people into computers learn actual programming > long before they hit university. Agreed. Well, for me. I had LOGO, PILOT and BASIC on my first Atari when I was a little kiddo in the early to mid 80's. Born in 1977. I had some books to go with them. So, I read the damn books. Started programming! Now, wrt AI, well, perhaps nobody needs to buy books anymore because the damn thing has already "ripped them off", so to speak? >> Engineering schools are even more that way. They don't teach you much >> engineering, but they give you all the background that you need to learn >> engineering. > > Programming isn't pure engineering - its a combination of engineering, logic, > art and a trade. > >> If you just want a job, getting one of these degrees is not for you. It's >> not there for that. > > Bill Gates never earned a degree. He seemed to do ok. >
Re: “The end of software secrecy is almost upon
Author: Charlie Gibbs
Date: Fri, 23 Oct 2026 20:28
Date: Fri, 23 Oct 2026 20:28
27 lines
2348 bytes
2348 bytes
On 2026-10-23, John Ames <commodorejohn@gmail.com> wrote: > On Fri, 23 Oct 2026 16:37:37 GMT > Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote: > >>>> Bill Gates never earned a degree. He seemed to do ok. >>> >>> From what I understand, he wasn't a very good programmer, though. >> >> Considering how much of my career I've spent working around poor >> design decisions and outright bugs in Windows, I'd say that is >> self-evident. > > AFAIK you can't pin that one on him; the Tandy Model 100 was the last > product he actually wrote code for, and that came out in '83, right at > the beginning of development on Windows 1.0. Dunno that he did much on > MS-DOS, either, as the core of that was Tim Paterson's work in, erm, > "adapating" the design of CP/M to the 8086. Still, somebody had to decide to make the MS-DOS COPY command refuse to copy zero-length files - something which CP/M's PIP did happily. -- /~\ Charlie Gibbs | In this world there are \ / <cgibbs@kltpzyxm.invalid> | two kinds of people: X I'm really at ac.dekanfrus | 1. Those who can extrapolate / \ if you read it the right way. | from incomplete data.
Re: “The end of software secrecy is almost upon us"
Author: Charlie Gibbs
Date: Fri, 23 Oct 2026 20:28
Date: Fri, 23 Oct 2026 20:28
31 lines
2399 bytes
2399 bytes
On 2026-10-23, Lawrence D’Oliveiro <ldo@nz.invalid> wrote: > On Fri, 23 Oct 2026 16:37:37 GMT, Charlie Gibbs wrote: > >> On 2026-10-23, Peter Flass <Peter@Iron-Spring.com> wrote: >> >>> On 10/23/26 01:01, boltar@caprica.universe wrote: >>> >>>> Bill Gates never earned a degree. He seemed to do ok. >>> >>> From what I understand, he wasn't a very good programmer, though. >> >> Considering how much of my career I've spent working around poor >> design decisions and outright bugs in Windows, I'd say that is >> self-evident. > > Remember that current “Windows” actually means “Windows NT”. Which was > primarily the brainchild of Dave Cutler, who came from the nest of > Unix-haters at DEC. Still, much of the cruft I had to deal with was present in 3.1. > In short, Gates couldn’t have done what Microsoft achieved on his own. Sort of like an evil genius commanding his legion of minions... -- /~\ Charlie Gibbs | In this world there are \ / <cgibbs@kltpzyxm.invalid> | two kinds of people: X I'm really at ac.dekanfrus | 1. Those who can extrapolate / \ if you read it the right way. | from incomplete data.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 20:30
Date: Fri, 23 Oct 2026 20:30
15 lines
2616 bytes
2616 bytes
On 10/23/2026 12:56 PM, Lawrence D’Oliveiro wrote: > On Fri, 23 Oct 2026 12:48:58 -0700, Chris M. Thomasson wrote: > >> Fwiw, Cairo is up on vcpkg, so its really easy to build and >> integrate with any MSVC project. >> >> https://vcpkg.io/en/package/cairo > > Do you get Fontconfig and FreeType as well? > > I thought Windows had native equivalents to all this functionality > anyway, yet here you are, reimplementing the entire Free Software > stack in parallel to it. Yeah. It builds all dependencies.
Re: “The end of software secrecy is almost upon
Author: Dan Cross
Date: Fri, 23 Oct 2026 20:36
Date: Fri, 23 Oct 2026 20:36
26 lines
2345 bytes
2345 bytes
In article <11bg7sj$l93$1@panix2.panix.com>, Scott Dorsey <kludge@panix.com> wrote: >John Ames <commodorejohn@gmail.com> wrote: >>AFAIK you can't pin that one on him; the Tandy Model 100 was the last >>product he actually wrote code for, and that came out in '83, right at >>the beginning of development on Windows 1.0. Dunno that he did much on >>MS-DOS, either, as the core of that was Tim Paterson's work in, erm, >>"adapating" the design of CP/M to the 8086. > >He continued doing code reviews well into the Win 7 era, and a lot of >people wound up having to clean up after him. He was always very hands-on. >I remember in 1978 him being the third tier tech support hotline for >MBASIC bugs. He was incredibly rude. Code reviews? For what? I can't imagine him reviewing Windows code; that was Dave C's baby. I had heard of him doing design reviews, and people I know who went through some of them said he was amazingly sharp, but also extremely critical and brooked no nonsense. A friend of mine did find a bug in Windows that was attributed to a bug he'd introduced back in MS-DOS. Wild times. - Dan C.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 20:43
Date: Fri, 23 Oct 2026 20:43
96 lines
4904 bytes
4904 bytes
On 10/23/2026 9:57 AM, Peter Flass wrote:
> On 10/23/26 02:45, David Brown wrote:
>> On 23/10/2026 08:25, Lawrence D’Oliveiro wrote:
>>> On Thu, 22 Oct 2026 22:29:45 -0700, Chris M. Thomasson wrote:
>>>
>>>> On 10/22/2026 8:19 PM, Lawrence D’Oliveiro wrote:
>>>>>
>>>>> On Thu, 22 Oct 2026 07:26:21 -0700, Peter Flass wrote:
>>>>>
>>>>>> That's why I try to use PL/I AUTOMATIC (stack) storage and not
>>>>>> allocate a lot of stuff. You need to have a disciplined approach
>>>>>> if you allocate random stuff here and there.
>>>>>
>>>>> What if you’re building an object that needs to be returned to the
>>>>> caller?
>>>>
>>>> Have the caller have the object before hand and call a function to
>>>> initialize it?
>>>
>>> I’m assuming that all that BASIC programming hasn’t got to your head,
>>> and you’re not serious. ;)
>>
>> Chris' wording is perhaps poor, but the principle is right.
>>
>> I don't know PL/I or Fortran, but in C if you have :
>>
>> typedef struct data_struct { int a; int xs[20]; } S ;
>>
>> S build_some_data(void) {
>> S s;
>>
>> s.a = 123;
>> for (int i = 0; i < 20; i++) s.xs[i] = i;
>>
>> return s;
>> }
>>
>> void foo() {
>> S s = build_some_data();
>> }
>>
>>
>> then it is typically handled as though you had written :
>>
>> void build_some_data(S * p) {
>> p->a = 123;
>> for (int i = 0; i < 20; i++) p->xs[i] = i;
>>
>> return;
>> }
>>
>> void foo() {
>> S s;
>> build_some_data(&s);
>> }
>>
>>
>> That is - the caller creates the /space/ for the returned object, but
>> does not do any kind of initialisation. It passes a pointer to that
>> space as a hidden parameter to the function that wants to return the
>> object.
>>
>> That principle should work fine in any language, as long as the size
>> of the returned object is known by the caller code.
>
> That last sentence is why it would not work fine,
if a dynamic object is returned, we need to handle its lifetime.
__________________________
// pseudo code
struct foo
{
struct bar* m_bar = nullptr;
int m_a = 0;
double m_b = .42;
};
foo_init(
struct foo* const self
) {
// assume foobar_lib_create succeeded...
self->m_bar = foobar_lib_create(...);
// now we must destroy it in foo_destroy after
// the caller logic is done with it.
}
foo_destroy(
struct foo const* const self
) {
foobar_lib_destroy(self->m_bar);
}
__________________________
Re: Re: “The end of software secrecy is almost upon
Author: Dan Cross
Date: Fri, 23 Oct 2026 20:45
Date: Fri, 23 Oct 2026 20:45
33 lines
2474 bytes
2474 bytes
In article <11bf4d1$skul$1@dont-email.me>, <boltar@caprica.universe> wrote: >On Thu, 22 Oct 2026 16:22:30 -0000 (UTC) >cross@spitfire.i.gajendra.net (Dan Cross) gabbled: >>In article <11bd7rg$2cvfs$1@dont-email.me>, <boltar@battlestar.co.uk> wrote: >>>You need an OS to do threading properly too. Theres a reason green threads >>>in java were a joke. >> >>Weird that you think you need a operating system for threads, >>yet you want C to standardize processes which also ... need an >>operating system. I mean, POSIX already does an ok job of >>standardizing the sorts of process-y things you would expect >>from, you know, an operating system. > >I'm simply pointing out the inconsistency in having a threading library but >not a process library. Its perfectly possible to simulate a multiprocess >enviroment. So write a simulator in your language of choice. You don't need the language to standardize a process model for that. >How do you think pure software versions of virtual machines work? By trapping and emulating accesses to privileged state, taking care to ensure that the environment that the guest sees faithfully emulates its expectations. You think that's something a programming _language_ like _C_ of all things should standardize? Why? - Dan C.
Re: Re: “The end of software secrecy is almost upon
Author: Dan Cross
Date: Fri, 23 Oct 2026 20:49
Date: Fri, 23 Oct 2026 20:49
22 lines
2056 bytes
2056 bytes
In article <11bfqh6$1sa3g$1@dont-email.me>, James Kuyper <jameskuyper@alumni.caltech.edu> wrote: >On 2026-10-23 05:28, David Brown wrote: >> On 22/10/2026 22:25, James Kuyper wrote: >>> On 2026-10-22 12:02, Scott Lurndal wrote: >>> ...> The C/C++ "Virtual Machine Model" as described in the language >>>> specifications is an apple. >...> The term in both the C and C++ standards is "abstract machine", but I >> think it was quite obvious that this is Dan meant when he wrote "virtual >> machine". ... > >I suspected as much, but it seemed a sufficiently odd mistake that I >wasn't sure. The danger of being overly pedantic is that one then lacks the ability to comprehend the difference between an abstract concept like a virtual machine **model** and a concrete manifestation of that concept, like the "abstract machine" described in the C standard. - Dan C.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 20:50
Date: Fri, 23 Oct 2026 20:50
84 lines
4772 bytes
4772 bytes
On 10/23/2026 9:57 AM, Peter Flass wrote:
> On 10/23/26 02:45, David Brown wrote:
>> On 23/10/2026 08:25, Lawrence D’Oliveiro wrote:
>>> On Thu, 22 Oct 2026 22:29:45 -0700, Chris M. Thomasson wrote:
>>>
>>>> On 10/22/2026 8:19 PM, Lawrence D’Oliveiro wrote:
>>>>>
>>>>> On Thu, 22 Oct 2026 07:26:21 -0700, Peter Flass wrote:
>>>>>
>>>>>> That's why I try to use PL/I AUTOMATIC (stack) storage and not
>>>>>> allocate a lot of stuff. You need to have a disciplined approach
>>>>>> if you allocate random stuff here and there.
>>>>>
>>>>> What if you’re building an object that needs to be returned to the
>>>>> caller?
>>>>
>>>> Have the caller have the object before hand and call a function to
>>>> initialize it?
>>>
>>> I’m assuming that all that BASIC programming hasn’t got to your head,
>>> and you’re not serious. ;)
>>
>> Chris' wording is perhaps poor, but the principle is right.
>>
>> I don't know PL/I or Fortran, but in C if you have :
>>
>> typedef struct data_struct { int a; int xs[20]; } S ;
>>
>> S build_some_data(void) {
>> S s;
>>
>> s.a = 123;
>> for (int i = 0; i < 20; i++) s.xs[i] = i;
>>
>> return s;
>> }
>>
>> void foo() {
>> S s = build_some_data();
>> }
>>
>>
>> then it is typically handled as though you had written :
>>
>> void build_some_data(S * p) {
>> p->a = 123;
>> for (int i = 0; i < 20; i++) p->xs[i] = i;
>>
>> return;
>> }
>>
>> void foo() {
>> S s;
>> build_some_data(&s);
>> }
>>
>>
>> That is - the caller creates the /space/ for the returned object, but
>> does not do any kind of initialisation. It passes a pointer to that
>> space as a hidden parameter to the function that wants to return the
>> object.
>>
>> That principle should work fine in any language, as long as the size
>> of the returned object is known by the caller code.
>
> That last sentence is why it would not work fine,
Or have an API that can give us the size of the object the caller needs
to create. So, again pseudo code:
size = foolib_create_get_size(...);
foo_alloc_req fareq = { };
foolib_create_get_alloc_req(&fareq);
foo = create_on_the_stack_etc(size, &fareq);
// The API would have all of that as prerequisites so the caller knows
// about it. Alignment requirements, etc.
foolib_init(foo);
...
foolib_destroy(foo);
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 20:56
Date: Fri, 23 Oct 2026 20:56
57 lines
4149 bytes
4149 bytes
On 10/23/2026 12:19 PM, Lawrence D’Oliveiro wrote:
> On Fri, 23 Oct 2026 09:02:50 -0700, Peter Flass wrote:
>
>> On 10/22/26 22:29, Chris M. Thomasson wrote:
>>>
>>> On 10/22/2026 8:19 PM, Lawrence D’Oliveiro wrote:
>>>>
>>>> On Thu, 22 Oct 2026 07:26:21 -0700, Peter Flass wrote:
>>>>
>>>>> That's why I try to use PL/I AUTOMATIC (stack) storage and not
>>>>> allocate a lot of stuff. You need to have a disciplined approach
>>>>> if you allocate random stuff here and there.
>>>>
>>>> What if you’re building an object that needs to be returned to the
>>>> caller?
>>>
>>> Have the caller have the object before hand and call a function to
>>> initialize it?
>>
>> That obviously wouldn't work, since then the caller would have to
>> know something about the object beforehand.
>
> And what if the object didn’t consist of just *one*
> dynamically-allocated block, but needed links to other blocks as well?
> What if it needed objects dynamically allocated by other APIs, the
> details of which are internal to those APIs? Is the caller required to
> know about all these implementation details?
>
> In short, the concept doesn’t scale, because it completely breaks the
> concept of data abstraction.
>
> And it just pushes the dynamic-allocation problem elsewhere, without
> making it easier.
It can be made to work, and if it fits in with your "scheme", okay, if
not so what? Have an API that can give us the size of the object the
caller needs to create. So, again pseudo code:
size = foolib_create_get_size(...);
foo_alloc_req fareq = { };
foolib_create_get_alloc_req(&fareq);
foo = create_on_the_stack_etc(size, &fareq);
// The API would have all of that as prerequisites so the caller knows
// about it. Alignment requirements, etc.
foolib_init(foo);
...
foolib_destroy(foo);
The caller can gain the size, and the alignment requirements up front.
It can allocate it using any of its means. Then use that to call into
the lib. It works.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 21:00
Date: Fri, 23 Oct 2026 21:00
25 lines
3254 bytes
3254 bytes
On 10/23/2026 9:02 AM, Peter Flass wrote: > On 10/22/26 22:29, Chris M. Thomasson wrote: >> On 10/22/2026 8:19 PM, Lawrence D’Oliveiro wrote: >>> On Thu, 22 Oct 2026 07:26:21 -0700, Peter Flass wrote: >>> >>>> That's why I try to use PL/I AUTOMATIC (stack) storage and not >>>> allocate a lot of stuff. You need to have a disciplined approach if >>>> you allocate random stuff here and there. >>> >>> What if you’re building an object that needs to be returned to the >>> caller? >> >> Have the caller have the object before hand and call a function to >> initialize it? > > That obviously wouldn't work, since then the caller would have to know > something about the object beforehand. I think you'd have to depend on > the compiler to destroy the object when it goes out of scope, unless the > caller destroys it itself. Knowing a size and an alignment requirement doesn't mean the caller knows how the object works or what fields it holds. It just means they know the dimensions of the box. They get a handle or a raw pointer, while the internal layout remains entirely hidden behind the API. That is textbook encapsulation
Re: “The end of software secrecy is almost upon
Author: Thomas Koenig
Date: Fri, 23 Oct 2026 21:00
Date: Fri, 23 Oct 2026 21:00
29 lines
3012 bytes
3012 bytes
David Brown <david.brown@hesbynett.no> schrieb: > On 23/10/2026 05:21, Lawrence D’Oliveiro wrote: >> On Thu, 22 Oct 2026 15:41:15 -0500, Lynn McGuire wrote: >> >>> I have been advocating for quite a while that C++ should add a user >>> interface programming model for quite a long time. >> >> First they need a standardized graphics API. >> > > I hope that never happens. I have one Fortran program which has an excellent graphics API, it writes Postscript. Works fine. Can't do any mouse clicks on it and expect anything to happen, though :-) Works for all programming languages as long as they do text I/O. > There are large numbers of graphics APIs, > with huge ranges of what they support, how they work and their balance > between features, efficiency, portability, size, hardware support, and > what they are used for. I guess mine is an example rather restricted graphics API, then :-) -- This USENET posting was made without artificial intelligence, artificial impertinence, artificial arrogance, artificial stupidity, artificial flavorings or artificial colorants.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 21:06
Date: Fri, 23 Oct 2026 21:06
29 lines
2879 bytes
2879 bytes
On 10/23/2026 12:58 PM, Chris M. Thomasson wrote: > On 10/23/2026 1:03 AM, boltar@caprica.universe wrote: >> On Thu, 22 Oct 2026 16:22:30 -0000 (UTC) >> cross@spitfire.i.gajendra.net (Dan Cross) gabbled: >>> In article <11bd7rg$2cvfs$1@dont-email.me>, >>> <boltar@battlestar.co.uk> wrote: >>>> You need an OS to do threading properly too. Theres a reason green >>>> threads >>>> in java were a joke. >>> >>> Weird that you think you need a operating system for threads, >>> yet you want C to standardize processes which also ... need an >>> operating system. I mean, POSIX already does an ok job of >>> standardizing the sorts of process-y things you would expect >>> from, you know, an operating system. >> >> I'm simply pointing out the inconsistency in having a threading >> library but >> not a process library. Its perfectly possible to simulate a multiprocess >> enviroment. How do you think pure software versions of virtual >> machines work? >> > > Well, a process lib needs to have certain things. Imvvho, at least > access to robust mutex? Fwiw. Akin to: https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutexattr_getrobust.html
Re: “The end of software secrecy is almost upon
Author: Johann 'Myrkraverk' Oskarsson
Date: Fri, 23 Oct 2026 21:14
Date: Fri, 23 Oct 2026 21:14
36 lines
3291 bytes
3291 bytes
On 10/24/2026 5:00 AM, Thomas Koenig wrote: > David Brown <david.brown@hesbynett.no> schrieb: >> On 23/10/2026 05:21, Lawrence D’Oliveiro wrote: >>> On Thu, 22 Oct 2026 15:41:15 -0500, Lynn McGuire wrote: >>> >>>> I have been advocating for quite a while that C++ should add a user >>>> interface programming model for quite a long time. >>> >>> First they need a standardized graphics API. >>> >> >> I hope that never happens. > > I have one Fortran program which has an excellent graphics API, > it writes Postscript. Works fine. Can't do any mouse clicks on > it and expect anything to happen, though :-) > > Works for all programming languages as long as they do text I/O. > >> There are large numbers of graphics APIs, >> with huge ranges of what they support, how they work and their balance >> between features, efficiency, portability, size, hardware support, and >> what they are used for. > > I guess mine is an example rather restricted graphics API, then :-) > If I remember the manual correctly, Open Watcom Fortran 77 has Win 3.1 abstractions. Those never got ported to Win 95+, as far as I know of, so didn't last. I should try it one of these days, and see if it still works. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: “The end of software secrecy is almost upon
Author: Johann 'Myrkraverk' Oskarsson
Date: Fri, 23 Oct 2026 21:19
Date: Fri, 23 Oct 2026 21:19
51 lines
4293 bytes
4293 bytes
On 10/24/2026 3:38 AM, Steven G. Kargl wrote: > On Fri, 23 Oct 2026 19:20:50 -0000 (UTC), Lawrence D’Oliveiro wrote: > >> On Fri, 23 Oct 2026 05:54:44 -0000 (UTC), Steven G. Kargl wrote: >>> On Fri, 23 Oct 2026 04:22:13 -0000 (UTC), Lawrence D’Oliveiro wrote: >>>> On Fri, 23 Oct 2026 04:10:39 -0000 (UTC), Steven G. Kargl wrote: >>>>> On Fri, 23 Oct 2026 03:33:44 -0000 (UTC), Lawrence D’Oliveiro wrote: >>>>>> So you can see there is no way out of the inner block without passing >>>>>> through the dispose call. >>>>> >>>>> 'break' is just another name for 'goto label'. >>>>> >>>>>> Using gotos would contribute nothing except make it harder to >>>>>> assure yourself of the simplicity of the control flow. >>>> >>>>> PS: We're still waiting on a definition of "storage allocation" >>>>> >>>>>> ... allocate object pointer ... >>>>>> >>> >>> Nice use of quoting without adding context. >> >> Just pointing out (in case you didn’t notice) that the points you were >> raising were already addressed in the posting you were (supposedly) >> replying to ... > > And, we are still waiting for your definition of "storage allocation" > and its needed cleanup in the context of Fortran 77. It as been pointed > out to you multiple times that Fortran 77 does not have dynamic memory > allocation. Fortran 77 does not have pointers and it does not have > objects. So, what is this mythical cleanup of storage allocation in > Fortran 77? > > It's okay to admit that you were making a some generalization that > does not apply to Fortran 77. > Dear Steven, I'm sure you're well aware of the nerd-posturing that prohibits people from accepting their mistakes, or admit lacking in any programming ca- pacity. I believe Lawrence will never cop to any fault, because it'll /lower his social standing/ among the trolls of comp.lang.c++. So best wishes, and happy waiting forever for the nerds to apologize! -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 21:29
Date: Fri, 23 Oct 2026 21:29
5 lines
2306 bytes
2306 bytes
On 10/23/2026 12:19 PM, Lawrence D’Oliveiro wrote: > That obviously wouldn't work, since then the caller would have to > know something about the object beforehand. non sequitur?
Re: “The end of software secrecy is almost upon
Author: William Hyde
Date: Fri, 23 Oct 2026 21:40
Date: Fri, 23 Oct 2026 21:40
36 lines
3008 bytes
3008 bytes
Michael S wrote: > On Fri, 23 Oct 2026 08:05:13 -0000 (UTC) > boltar@caprica.universe wrote: > >> On Thu, 22 Oct 2026 22:48:29 +0300 >> Michael S <already5chosen@yahoo.com> gabbled: >>> On Thu, 22 Oct 2026 14:51:31 -0000 (UTC) >>> boltar@battlestar.co.uk wrote: >>>>> I agree that the work for a CS degree is useful. If nothing else >>>>> I understand more now. >>>> >>>> Most of us have a CS degree. >>> >>> I don't have it. >>> How do you know about most? >> >> Oh I dunno, maybe 30 years in the industry working with probably >> hundreds of different programmers. >> > > My experience in industry beats yours by few years. > And my statistics differ - CS graduates are not majority of computer > programmers. In the 70s and early 80s there was little demand for people with graduate degrees in physics. Most of my fellow students went on to work in computer science or drove taxis when their postdoctoral positions expired. I am a lousy driver and so-so programmer (at best) so I was forced to stick with it. William Hyde
Re: “The end of software secrecy is almost upon
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 22:42
Date: Fri, 23 Oct 2026 22:42
18 lines
2757 bytes
2757 bytes
On Fri, 23 Oct 2026 13:56:49 -0700, Chris M. Thomasson wrote: > On 10/23/2026 12:19 PM, Lawrence D’Oliveiro wrote: >> >> In short, the concept doesn’t scale, because it completely breaks >> the concept of data abstraction. >> >> And it just pushes the dynamic-allocation problem elsewhere, >> without making it easier. > > It can be made to work ... I’m sure it’s *possible*, but what is the *point*? The whole aim of levels of abstraction is to tame the multi-headed beast of complexity that is computer programming. What you are doing here is breaking down those levels, all in the aid of, I don’t know, just to keep using gotos in your code, or something.
Re: “The end of software secrecy is almost upon
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 22:43
Date: Fri, 23 Oct 2026 22:43
10 lines
2383 bytes
2383 bytes
On Fri, 23 Oct 2026 14:29:22 -0700, Chris M. Thomasson wrote: > On 10/23/2026 12:19 PM, Lawrence D’Oliveiro wrote: >> >> That obviously wouldn't work, since then the caller would have to >> know something about the object beforehand. > > non sequitur? I don’t care, because ... I didn’t say that.
Re: “The end of software secrecy is almost upon
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 22:46
Date: Fri, 23 Oct 2026 22:46
9 lines
2311 bytes
2311 bytes
On Fri, 23 Oct 2026 12:55:02 -0700, Chris M. Thomasson wrote: > Fwiw, vcpkg has a lot of them, ready to automatically build and > integrate. vcpkg is actually... Well, its pretty nice and so far... > Seems to work for me. How does it work for end-users? Are your dependencies automatically brought in when they install your package? How are they kept up-to-date?
Re: “The end of software secrecy is almost upon us"
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 22:49
Date: Fri, 23 Oct 2026 22:49
13 lines
2573 bytes
2573 bytes
On Fri, 23 Oct 2026 21:00:30 -0000 (UTC), Thomas Koenig wrote: > I have one Fortran program which has an excellent graphics API, it > writes Postscript. Works fine. Can't do any mouse clicks on it and > expect anything to happen, though :-) PostScript was a very influential graphics API, but it is only fit for the museum nowadays. It was designed for putting marks on paper, not for updating pixels on a computer screen. Also its Unicode support was never really satisfactory. Look at successors like Cairo, and you clearly see the PostScript influence. And yet they are definitely more modern in their approach.
Re: “The end of software secrecy is almost upon us"
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 22:50
Date: Fri, 23 Oct 2026 22:50
11 lines
2016 bytes
2016 bytes
On Fri, 23 Oct 2026 20:28:07 GMT, Charlie Gibbs wrote: > On 2026-10-23, Lawrence D’Oliveiro <ldo@nz.invalid> wrote: > >> In short, Gates couldn’t have done what Microsoft achieved on his own. > > Sort of like an evil genius commanding his legion of minions... He set the standard for the corporate culture at Microsoft! A culture which persists to this day ...
Re: “The end of software secrecy is almost upon
Author: James Kuyper
Date: Fri, 23 Oct 2026 22:50
Date: Fri, 23 Oct 2026 22:50
22 lines
2966 bytes
2966 bytes
On 2026-10-23 17:40, William Hyde wrote: > Michael S wrote: ...>> My experience in industry beats yours by few years. >> And my statistics differ - CS graduates are not majority of computer >> programmers. > > In the 70s and early 80s there was little demand for people with > graduate degrees in physics. Most of my fellow students went on to work > in computer science or drove taxis when their postdoctoral positions > expired. > > I am a lousy driver and so-so programmer (at best) so I was forced to > stick with it. I studied to be a physicist, got a BS from Caltech, and did postgraduate work at Cambridge. I reached that point in the 90s. I learned computer programming only with the intent of using it as a tool in support of my physics. That idea foundered on two rocks: while I am very good at understanding advanced physics, I'm not particularly good at the practicalities of experimental physics, and my imagination isn't good enough to make a good theoretical physicist. I ended up being a programmer who specialized in scientific programming, rather than a scientist who uses computer programs.
Re: “The end of software secrecy is almost upon
Author: Lawrence D’Oliveiro
Date: Fri, 23 Oct 2026 22:57
Date: Fri, 23 Oct 2026 22:57
22 lines
2514 bytes
2514 bytes
On Fri, 23 Oct 2026 13:02:44 -0700, Chris M. Thomasson wrote:
> Well, for me. I had LOGO, PILOT and BASIC on my first Atari when I
> was a little kiddo in the early to mid 80's. Born in 1977. I had
> some books to go with them. So, I read the damn books. Started
> programming!
My first exposure to a real computer system was a DEC PDP-11. I
remember the first time I saw an Apple II running LOGO. Somebody tried
telling it to do a file I/O command without a floppy in the drive. It
ground away for a few seconds, and then produced an error message --
of course.
What was that error message? I was expecting something like “DISK
ERROR” or “I/O ERROR”. Instead, it said
I’m having trouble with the disk.
To me, that was like a splash in the face with a pail of cold water.
The idea of an error message phrased in plain, approachable language
(using a first-person pronoun, even) instead of technical terms?? That
was a revelation.
Re: “The end of software secrecy is almost upon
Author: Charlie Gibbs
Date: Fri, 23 Oct 2026 23:31
Date: Fri, 23 Oct 2026 23:31
51 lines
3640 bytes
3640 bytes
On 2026-10-23, Lawrence D’Oliveiro <ldo@nz.invalid> wrote: > On Fri, 23 Oct 2026 13:02:44 -0700, Chris M. Thomasson wrote: > >> Well, for me. I had LOGO, PILOT and BASIC on my first Atari when I >> was a little kiddo in the early to mid 80's. Born in 1977. I had >> some books to go with them. So, I read the damn books. Started >> programming! > > My first exposure to a real computer system was a DEC PDP-11. I > remember the first time I saw an Apple II running LOGO. Somebody tried > telling it to do a file I/O command without a floppy in the drive. It > ground away for a few seconds, and then produced an error message -- > of course. > > What was that error message? I was expecting something like “DISK > ERROR” or “I/O ERROR”. Instead, it said > > I’m having trouble with the disk. > > To me, that was like a splash in the face with a pail of cold water. > The idea of an error message phrased in plain, approachable language > (using a first-person pronoun, even) instead of technical terms?? That > was a revelation. Unfortunately it's not the kind of revelation I welcome. Back in my mainframe days, I learned to hate catch-all error messages; they're the sign of a programmer who's too lazy to try to help the user. If something goes wrong, I want to be given some clues as to where to look. But more and more these days, your typical error message is "Something went wrong." Nothing more. This kind of conduct should be condemned. Think of it from a support person's point of view. A user calls and says, "I have an error message." "OK," you reply, "what is the message?" "It doesn't work." That's what the user would have said anyway - we've just wasted some time, and we still have to start the same old game of Twenty Questions. I'm not saying that we should go back to the days of cryptic error codes. But an error message can be both friendly and helpful. For your case, how about something like "There is no disk in the drive" or "The disk is write-protected"? And then follow it with an error code for those of us who know how to interpret them. Users shouldn't be made to guess what the computer already knows. -- /~\ Charlie Gibbs | In this world there are \ / <cgibbs@kltpzyxm.invalid> | two kinds of people: X I'm really at ac.dekanfrus | 1. Those who can extrapolate / \ if you read it the right way. | from incomplete data.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 23:56
Date: Fri, 23 Oct 2026 23:56
32 lines
3437 bytes
3437 bytes
On 10/23/2026 3:50 PM, James Kuyper wrote: > On 2026-10-23 17:40, William Hyde wrote: >> Michael S wrote: > ...>> My experience in industry beats yours by few years. >>> And my statistics differ - CS graduates are not majority of computer >>> programmers. >> >> In the 70s and early 80s there was little demand for people with >> graduate degrees in physics. Most of my fellow students went on to work >> in computer science or drove taxis when their postdoctoral positions >> expired. >> >> I am a lousy driver and so-so programmer (at best) so I was forced to >> stick with it. > I studied to be a physicist, got a BS from Caltech, and did postgraduate > work at Cambridge. I reached that point in the 90s. I learned computer > programming only with the intent of using it as a tool in support of my > physics. That idea foundered on two rocks: while I am very good at > understanding advanced physics, I'm not particularly good at the > practicalities of experimental physics, and my imagination isn't good > enough to make a good theoretical physicist. I ended up being a > programmer who specialized in scientific programming, rather than a > scientist who uses computer programs. Sounds good! When I got into fractals and vector fields back in 2010'ish, I started getting really happy. It was funner than lock/wait free systems stuff. Here is an older work of mine from 12 years ago: https://youtu.be/D9XBDNVTlFE My vector field work is neat. It can be used for different things. It can use real sensor data.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 23:58
Date: Fri, 23 Oct 2026 23:58
15 lines
2678 bytes
2678 bytes
On 10/23/2026 3:46 PM, Lawrence D’Oliveiro wrote: > On Fri, 23 Oct 2026 12:55:02 -0700, Chris M. Thomasson wrote: > >> Fwiw, vcpkg has a lot of them, ready to automatically build and >> integrate. vcpkg is actually... Well, its pretty nice and so far... >> Seems to work for me. > > How does it work for end-users? Are your dependencies automatically > brought in when they install your package? How are they kept > up-to-date? Oh yeah. In your build directory, say Debug or Release, it has all of the built shared libs and everything you need to run it. Keeping them up to date is, afaict, manual.
Page 5 of 11 • 514 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