Replies: 1 comment 3 replies
-
|
Hello, I think we are open to adding new targets to Fable, however the work needs to come from the community. We can provide guidance / explanation regarding how Fable works in general. It is important to note that creating a target is a long term project because it is a complex task and will need maintenance over time. At first need to live in a long living PR until it reaches a "usable" state. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I had a crazy idea today. Imagine if Fable could target the GPU so that we could write shaders in F#... There used to be an F#-to-shader transpiler like a decade ago (Alea GPU I think?) but it's long dead.
It would probably target either Slang, or HLSL, or maybe SPIR-V. All of these can target Vulkan and modern DirectX. Slang can even target OpenGL (not that anybody is writing any new OpenGL projects anymore...). I think you can also get all of those to target WebGL? Imagine the possibilities...
Obviously the allowed subset of F# would be pretty restricted, but hopefully anyone trying it would know what they're getting themselves into.
Imagine marrying this to MonoGame. Or imagine if you made a 3d browser game in JS Fable and wrote shaders for it in F#.
Beta Was this translation helpful? Give feedback.
All reactions