jingwood / jingwood/d2dlib

Could this library benefit from C#9's function pointers?

Open
#34 1 comment 1 reaction 0 assignees View on GitHub
enhancement help wanted
Dominant language
C#
Stars
261
Forks
48
PR merge metrics
No merged PRs in 30d

Description

There might be function pointers to unmanaged APIs in C#:
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/function-pointers

Could this library benefit form that? Someone mentions here that this might be suitable for graphics APIs:
https://news.ycombinator.com/item?id=24559462

If so, I'd like to contribute.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked C# 9 function-pointers proposal and the referenced discussion about graphics APIs, then inspect how this Direct2D library currently accesses unmanaged APIs. Done means establishing whether function pointers provide a meaningful benefit here and defining a concrete, testable scope for any resulting change.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.