Skip to content

How to start? #1

Open
Open
@suve

Description

@suve

SDL3 is near release, with the 3.1.3 preview version having been released earlier this week. As such, we can start getting ready to work on the SDL3 units.

So, my question is - how should we start? I see three options here:

  1. Base our SDL3 units on the SDL2 units we already have. Use the SDL3 migration guide to help us identify which parts need to be changed.

  2. Start anew. Use some tool like h2pas to automatically convert the C headers into Pascal units and then tweak the output until we arrive at something we're satisfied with.

  3. Start from scratch, manually.

Option 1) would definitely be the easiest, though I am rather worried about the risk of us missing things here and there, leading to hard-to-find bugs where the units compile fine, but the definitions don't match what's in the C headers. As such, I'd be willing to devote some time to try out option 2) and see how that works out.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions