Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add native int128/uint128 support #3970

Open
lukas-weber opened this issue Jan 29, 2024 · 5 comments
Open

Add native int128/uint128 support #3970

lukas-weber opened this issue Jan 29, 2024 · 5 comments
Assignees
Labels
Component - C Library Core C library issues (usually in the src directory) Priority - 3. Low 🔽 Code cleanup, small feature change requests, etc. Type - Improvement Improvements that don't add a new feature or functionality

Comments

@lukas-weber
Copy link

I saw in #2154 that native float16 support is planned. Are there plans to add int128 as well?

@jhendersonHDF
Copy link
Collaborator

Hi @lukas-weber,

we haven't yet considered adding support for int128 and uint128 at this time, but you should be able to work around that for the time being (if you aren't already) by defining your own datatype and conversion routines.

@jreadey jreadey added Priority - 3. Low 🔽 Code cleanup, small feature change requests, etc. Component - C Library Core C library issues (usually in the src directory) Type - Improvement Improvements that don't add a new feature or functionality labels Jan 30, 2024
@derobins
Copy link
Member

@lukas-weber - Do you have a specific use case in mind?

@lukas-weber
Copy link
Author

Apologies for the late answer. Admittedly my use case was esoteric: saving the internal state of a random number generator. I was doing it using some automatic serialization code in Julia, then found out it croaked on the Int128 numbers, which are not supported by HDF5.jl.

I found JuliaIO/HDF5.jl#301 which mentioned adding support on their end as a custom datatype on a similar footing with adding Float16 support. But the reasoning was to wait until Float16 support was adopted upstream. So I was curious is a similar thing was happening for Int128.

@derobins derobins added this to the 1.14.5 milestone Mar 16, 2024
@derobins
Copy link
Member

We might perform additional datatype rework over the summer, so I'm tentatively assigning this to 1.14.5

@derobins derobins modified the milestones: 1.14.5, 2.0.0 Oct 15, 2024
@derobins
Copy link
Member

Removing from 2.0 plans as this is low priority and we have more pressing issues to address

@derobins derobins removed this from the 2.0.0 milestone Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - C Library Core C library issues (usually in the src directory) Priority - 3. Low 🔽 Code cleanup, small feature change requests, etc. Type - Improvement Improvements that don't add a new feature or functionality
Projects
None yet
Development

No branches or pull requests

4 participants