r/beeflang • u/gabstv • Jul 26 '24
Inside Penny's Big Breakaway - They Made Their Own 3D Engine! (with Beef)
r/beeflang • u/gabstv • Jul 26 '24
r/beeflang • u/flying-dude • Jul 22 '22
I started working on a Linux port of the Beef IDE.
It is tested on Arch Linux and relies on the xmake build system.
Note that you do not need to compile LLVM, since it uses the system LLVM libs from Arch Linux. You can compile the entire project within a few minutes.
You can follow the progress on branch xmake here.
r/beeflang • u/roguemacro • May 27 '20
r/beeflang • u/Elegant_Subject5333 • Nov 06 '24
hated the name, but language looks cool, its like writing java, c# with manual memory management.
r/beeflang • u/AcidSpy • Apr 02 '26
I tried out Beef for a new game project and was pleasantly surprised. Install and setup was quick and painless. Everything just worked straight away. The SpaceGame example project seems like a good starting point to learn the language and getting a new project setup with SDL3 was no problem at all. The editor also feels very snappy.
I wish there were some more learning resources, seems to mostly be the example project and the docs, but it's a smaller language and the similarities to other C like languages are usually enough to figure things out.
Will definitely keep using it if things go this smooth. It really feels like a language made for efficient game development.
r/beeflang • u/-BuckarooBanzai- • Apr 01 '22
Is there a Linux IDE that can be used with the beef build tools with code completion and interactive debugging support ?
if not, are there any plans to make the Beef IDE cross-platform ?
Because at this point it's impractical to develop anything in beef on a Linux Workstation.
r/beeflang • u/Mig_Moog • May 27 '20
Other programming language communities have names for their users. Golang has gophers and Rust has rustaceans. Is there a name anyone can come up with for beeflang users?
r/beeflang • u/Shyam_Lama • Jul 20 '25
See title. I'm asking because even though the website looks nice and contains some good info, there doesn't seem to be any write-up on what Beef is trying to achieve, what principles it adheres to that set it apart from C++, C#, D, etc., how it improves on those languages, what features it offers that those languages don't have (and equally importantly, which features it shuns that those languages do have). Etc. etc.
Can anyone provide a brief explanation of Beef's aims and design principles? Or link to something that would be helpful in that regard? Thanks all.
r/beeflang • u/unquietwiki • Aug 07 '23
Hey there. I mod r/altprog, and have had r/beeflang on the sidebar for a while now. It looks like there hasn't been anything new going on in the past year-ish; wanted to see what the situation was.
r/beeflang • u/glowiak2 • Feb 10 '24
I've been playing with Beef since yesterday, and I'm impressed that it performs better than Java and C#, while having very similar syntax.
However, no text editors I have support Beef formatting. Neither vim, vscode nor Geany have it. Nor does Codeberg, which I use for git storage.
There is the Beef IDE, but it's only for windows, and I use Gentoo Linux.
For now I use vscode with C# formatting, but that's bad.
Is there any code editor or IDE for Linux that supports Beef code formatting?
r/beeflang • u/Skymt1 • May 17 '20
I found these algorithms on stack overflow. They are quite useful though so I thought I'd share them in the dialect of Beef. :-)
// in: h, s, l in range [0, 1]
// out: r, g, b in range [0, 255]
public static (uint8 r, uint8 g, uint8 b) HSLtoRGB(float h, float s, float l)
{
float r, g, b;
if(s == 0f)
r = g = b = l * 255f;
else
{
var q = l < 0.5f ? l * (1f + s) : l + s - l * s;
var p = 2f * l - q;
r = hueToRGB(p, q, h + 1f/3f);
g = hueToRGB(p, q, h);
b = hueToRGB(p, q, h - 1f/3f);
}
return (round(r), round(g), round(b));
}
// in: r, g, b in range [0, 255]
// out: h, s, l in range [0, 1]
public static (float h, float s, float l) RGBtoHSL(uint8 pR, uint8 pG, uint8 pB)
{
float r = pR / 255f;
float g = pG / 255f;
float b = pB / 255f;
float max = (r > g && r > b) ? r : (g > b) ? g : b;
float min = (r < g && r < b) ? r : (g < b) ? g : b;
float h, s, l;
l = (max + min) / 2f;
if (max == min) {
h = s = 0f;
} else {
float d = max - min;
s = (l > 0.5f) ? d / (2f - max - min) : d / (max + min);
if (r > g && r > b)
h = (g - b) / d + (g < b ? 6f : 0f);
else if (g > b)
h = (b - r) / d + 2f;
else
h = (r - g) / d + 4f;
h /= 6f;
}
return (h, s, l);
}
static uint8 round(float n) => (uint8)Math.Round(n * 255f);
static float round(uint8 n) => (float)(255f / n);
static float hueToRGB(float p, float q, float tt)
{
float t = tt;
if(t < 0f) t += 1f;
if(t > 1f) t -= 1f;
if(t < 1f/6f) return p + (q - p) * 6f * t;
if(t < 1f/2f) return q;
if(t < 2f/3f) return p + (q - p) * (2f/3f - t) * 6f;
return p;
}r/beeflang • u/[deleted] • Aug 05 '22
I'm an old guy now, 58, and my eyes aren't so good. I'm having to use lighter themes for my Jetbrains and Visual Studio IDEs so I'm wondering if there are any decent light themes for the Beef IDE?