Are there plans to release an SDL kit?


Topic author
whcox53
Contributor
Posts: 15
Joined: Sat Aug 22, 2020 3:25 pm
Reputation: 0
Location: Philadelphia area
Status: Offline

Are there plans to release an SDL kit?

Post by whcox53 » Sat Jul 06, 2024 4:01 pm

I think SDL was mentioned at some point, but it doesn't show up in the road map. Are there plans to release it at some point? I would assume that you must be using it in development.

I did double-check and there is an SDL kit in the freeware, but it doesn't include x86.
Last edited by whcox53 on Sat Jul 06, 2024 4:03 pm, edited 1 time in total.
bill
-----------------
VMS user since 1979.


roberbrooks
VSI Expert
Active Contributor
Posts: 49
Joined: Thu Jun 20, 2019 11:48 am
Reputation: 0
Status: Offline

Re: Are there plans to release an SDL kit?

Post by roberbrooks » Sat Jul 06, 2024 11:12 pm

SDL is largely written in C++, so we needed to wait for a native C++ compiler.

As it turns out, SDL is stressing the C++ compiler, so a combination of changes to SDL itself and
the compiler are needed to get a usable SDL on X86.

We're almost there!

I have no idea what, if any, the release plans are for SDL.
--
-- Rob

User avatar

arne_v
Master
Posts: 448
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Offline
Contact:

Re: Are there plans to release an SDL kit?

Post by arne_v » Sun Jul 07, 2024 8:59 am

I am confused.

Native C++ as in "running on x86-64" C++ is available.

Do you mean "traditional VMS extensions" C++?
Arne
arne@vajhoej.dk
VMS user since 1986

User avatar

cct
Master
Posts: 164
Joined: Sat Aug 15, 2020 9:00 am
Reputation: 0
Location: Cambridge, UK
Status: Offline

Re: Are there plans to release an SDL kit?

Post by cct » Sun Jul 07, 2024 10:48 am

Isn't C++ still in field test?
--
Chris

User avatar

arne_v
Master
Posts: 448
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Offline
Contact:

Re: Are there plans to release an SDL kit?

Post by arne_v » Sun Jul 07, 2024 1:49 pm

My understanding is that the V1001 kit is non-FT while the A1001-240307 kit is FT.
Arne
arne@vajhoej.dk
VMS user since 1986

User avatar

cct
Master
Posts: 164
Joined: Sat Aug 15, 2020 9:00 am
Reputation: 0
Location: Cambridge, UK
Status: Offline

Re: Are there plans to release an SDL kit?

Post by cct » Sun Jul 07, 2024 3:33 pm

Oops, my apology. I had just installed the latest, which is A rather than V
--
Chris


roberbrooks
VSI Expert
Active Contributor
Posts: 49
Joined: Thu Jun 20, 2019 11:48 am
Reputation: 0
Status: Offline

Re: Are there plans to release an SDL kit?

Post by roberbrooks » Sun Jul 07, 2024 8:13 pm

> I am confused.

> Native C++ as in "running on x86-64" C++ is available.

SDL isn't completely happy with that compiler, which is why I wrote

"... so a combination of changes to SDL itself and
the compiler are needed to get a usable SDL on X86."
--
-- Rob


jreagan
VSI Expert
Master
Posts: 174
Joined: Tue Dec 01, 2020 8:40 am
Reputation: 0
Status: Offline

Re: Are there plans to release an SDL kit?

Post by jreagan » Mon Jul 08, 2024 3:07 pm

The C++ in SDL exposed a few issues with the compilers treatment of dual-sized pointers. We also found/fixed a few invalid code sequences in the SDL sources (both in the C and C++ sources). SDL uses TRY/CATCH to catch OpenVMS signaled errors and found a few places in the LIBCXXABI that needed adjustment. Add we recently switched the compiler to use malloc64 for most heap objects. After a few bumps, it should be mostly invisible but for code that uses string:: and then c_str() to get a pointer to the data to put into a 32-bit descriptor, having c_str() return a 64-bit pointer isn't a good thing. Don't worry, we have "ideas".

As Rob said, we're working on native SDL as one of our main tasks. I need it myself for truly native compiler builds as several of the compilers use SDL for data structure definitions.

User avatar

arne_v
Master
Posts: 448
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Offline
Contact:

Re: Are there plans to release an SDL kit?

Post by arne_v » Mon Jul 08, 2024 3:25 pm

jreagan wrote:
Mon Jul 08, 2024 3:07 pm
code that uses string:: and then c_str() to get a pointer to the data to put into a 32-bit descriptor, having c_str() return a 64-bit pointer isn't a good thing. Don't worry, we have "ideas".
What about just drawing a line in the sand?

"If you chose a modern language like C++, then pointers are 64 bit and if you want to use a descriptor then you will have to use a 64 bit descriptor"

I know there must be lots of calls that do not support 64 bit descriptors, but maybe it would be better to add that support than to find a hack that allow std::string c_str() to work with 32 bit descriptors.
Arne
arne@vajhoej.dk
VMS user since 1986


roberbrooks
VSI Expert
Active Contributor
Posts: 49
Joined: Thu Jun 20, 2019 11:48 am
Reputation: 0
Status: Offline

Re: Are there plans to release an SDL kit?

Post by roberbrooks » Mon Jul 08, 2024 9:24 pm

> What about just drawing a line in the sand?

Yeah, we're not real good at drawing lines that cannot be crossed.
--
-- Rob

Post Reply