ThreadSky
About ThreadSky
Log In
sergeytihon.com
•
24 days ago
The next F# feature that Mads would like to have in C# from #fsharp is Type Providers
https://youtu.be/T9UqIkuGnuo?t=2495
Comments
Log in
with your Bluesky account to leave a comment
[–]
jaggerjo.bsky.social
•
23 days ago
Source Generators are awesome!
Wrote a few of them. A lot simpler than building Type Providers.
1
reply
[–]
rangemarten.bsky.social
•
24 days ago
I thought source gens were C# version of type providers?
1
1
reply
[–]
sergeytihon.com
•
24 days ago
In the video, he talks about something similar to a "generative type provider". Strongly typed experience over the data that represented as Dictionary at runtime using some new extensions (probably this one
https://github.com/dotnet/csharplang/blob/37191db246bce04e9c8053a2261edc113237f8aa/proposals/extensions.md
)
0
1
reply
[–]
rangemarten.bsky.social
•
24 days ago
I see. But what is stopping you from implementing that as a source gen today? Not an expert at either type providers or source gens
0
1
reply
[–]
sergeytihon.com
•
24 days ago
I also not expert of source generators, maybe it is just to hard to emit one string with valid source code
0
1
reply
[–]
7sharp9.bsky.social
•
23 days ago
Typically C# used the hucklebuck stringly vomit method.
0
1
reply
[–]
sergeytihon.com
•
23 days ago
@jaggerjo.bsky.social think that it easier to write than TP
https://bsky.app/profile/jaggerjo.bsky.social/post/3lhlldx6umk2w
0
1
reply
Posting Rules
Be respectful to others
No spam or self-promotion
Stay on topic
Follow Bluesky's terms of service
×
Reply
Post Reply
Comments
Wrote a few of them. A lot simpler than building Type Providers.