I would not support forking Motif, nor breaking API compatibility, but for developing new software, I would recommend we create a wrapper library that exposes Motif functionality in a more "modern C" kind of way. For example, when setting a resource using the traditional API, you would pack an Arg array with keys and values, and then call a function to set the resources; the more modern way would involve having functions for setting and getting the value of each resource.
Modern API Wrapper Library? #5
Open
opened 2025年02月11日 02:56:35 +01:00 by KyleCardoza
·
1 comment
KyleCardoza
commented 2025年02月11日 02:56:35 +01:00
I would not support forking Motif, nor breaking API compatibility, but for developing new software, I would recommend we create a wrapper library that exposes Motif functionality in a more "modern C" kind of way. For example, when setting a resource using the traditional API, you would pack an Arg array with keys and values, and then call a function to set the resources; the more modern way would involve having functions for setting and getting the value of each resource.
thomholwerda
commented 2025年02月11日 11:42:39 +01:00
I'm not a programmer so I'll leave this discussion to those that are, but using a wrapper that allows us some control where and when it's needed seems like a smart thing to do. If we intend to be a Motif-focused distribution, forking Motif seems counterintuitive (and a whole heck of a lot of work, to boot?).
I'm not a programmer so I'll leave this discussion to those that are, but using a wrapper that allows us some control where and when it's needed seems like a smart thing to do. If we intend to be a Motif-focused distribution, forking Motif seems counterintuitive (and a whole heck of a lot of work, to boot?).
KyleCardoza
added this to the Chisel-UI project 2025年02月11日 18:03:21 +01:00
KyleCardoza
added the 2025年02月11日 18:06:43 +01:00
enhancement
help wanted
contribution welcome
labels
Sign in to join this conversation.
Labels
Clear labels
bug
Something is not working
contribution welcome
Contributions are very welcome, get started here
duplicate
This issue or pull request already exists
enhancement
New feature
good first issue
Interested in contributing? Get started here.
help wanted
Need some help
invalid
Something is wrong
question
More information is needed
upstream
Related to an upstream repository, already reported there
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
ChiselOS/chisel#5
Loading...
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?