News for hackers. Stuff that matters.
Re:Show HN: Beef, a new performance-oriented programming lan... by NonEUCitizen on Thursday January 09, 2020 @05:47AM (#22000098)
Do you support P/Invoke?
Re:Show HN: Beef, a new performance-oriented programming lan... by gmueckl on Thursday January 09, 2020 @06:45AM (#22000377)
No. This language isn't running on .NET. Interop with other libraries is accomplished via C function call conventions. This goes both ways in Beef.
Re:Show HN: Beef, a new performance-oriented programming lan... by beefdev on Thursday January 09, 2020 @09:06AM (#22001247)
This is correct - P/Invoke is not required because all interop datatypes can be expressed in BeefLang, whereas C# does not allow certain types of datatypes in structs (IE: pointers to structs, statically sized arrays).