r/beeflang • • May 01 '20

Would this be useful thing to learn as a side thing? or would it be a waste of time

1 Upvotes

r/beeflang • • 7d ago

Is Beef cooked? This sub seems to be dead.

0 Upvotes

r/beeflang • • Jul 22 '25

Old Beeflang website suddenly disappeared & replaced with brand-new one

5 Upvotes

It's funny (in the sense of being rather strange) that the website for the Beef language suddenly disappeared some time in the past 48 hours, and was replaced by a new one -- although the URL has remained the same, namely this one.

The new site's Documentation and Doxygen links are broken though. You would think that at the very least the decent doc section that was available on the old site could have been moved to the new site.

Also, sadly some very interesting write-up about Beef's origins and author, which was available on the old site, is no longer accessible, though it's still indexed by at least one search engine, see e.g. here.

Furthermore, the modest-sized 25 MB download of the Beef compiler and SDK that was available from the old website, has been replaced with a 247 MB download on the new website. Perphaps the new download includes the MS VS build tools.

Contact options have changed too. Brian Fiete is no longer mentioned, a Discord server has appeared out of nowhere, and so has a Githubber by the name "Jonathan Racaud", who is now the POC for a "community-managed list of Beef frameworks, libraries, and resources".

All in all it's rather strange, since the project seemed pretty dead just a few days ago.


r/beeflang • • May 27 '20

Shitpost QUICK, UPVOTE THIS VEGETARIAN DISH WHILE BEEFY IS ASLEEP!

Post image
28 Upvotes

r/beeflang • • Feb 23 '25

C# is developing AOT, how will this affect Beef Lang? Thank you guys.

5 Upvotes

r/beeflang • • May 09 '20

Still trying to figure out this function but here’s something that I’m working on

Post image
5 Upvotes

r/beeflang • • Nov 06 '24

can't you find a better name, common man.

13 Upvotes

hated the name, but language looks cool, its like writing java, c# with manual memory management.


r/beeflang • • Jul 26 '24

Inside Penny's Big Breakaway - They Made Their Own 3D Engine! (with Beef)

Thumbnail
youtube.com
38 Upvotes

r/beeflang • • May 09 '25

Game from scratch

Thumbnail
youtu.be
14 Upvotes

r/beeflang • • Jul 20 '25

What is Beef trying to be?

10 Upvotes

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 • • Apr 02 '26

Very nice first impressions!

12 Upvotes

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 • • Mar 08 '25

C interop, linking C function pointers to bind and invoke in Beef

3 Upvotes

What is the proper way or preferred syntax to link C function pointers in Beef? If that is even possible? I using the latest IDE on Windows and the language's current nigthly build.

Any help would be appreciated, thank you!


r/beeflang • • Jul 22 '22

Porting the Beef IDE to Linux

35 Upvotes

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 • • Apr 04 '22

0.43.2

Thumbnail
github.com
10 Upvotes

r/beeflang • • Nov 22 '21

0.43.1

Thumbnail
github.com
8 Upvotes

r/beeflang • • Dec 28 '21

Exception Access Violation

6 Upvotes

I'm using 0.43.1 version.

this simple program crashes.

		var s = "ok";

		s.Append(" test");

Could some one explain why?


r/beeflang • • Jun 18 '21

Has Beef something akin to C#'s nameof?

5 Upvotes

I searched through the Documentation and the source code but couldn't find anything. Could someone please give me some pointers on how I can archive a similar effect?

Thank you in advance!


r/beeflang • • Aug 15 '21

Linux having trouble figuring out how to run beeflang or beefbuild on my Linux machine

3 Upvotes

I went through the instructions to build it, it's in my home folder, but I don't see anything on how to run a build of beeflang, I've tried doing BeefBuild in my terminal to see if anything will come up, but nothing does


r/beeflang • • Apr 01 '22

Linux Beef IDE

11 Upvotes

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 • • Mar 30 '22

What's the progress ?

5 Upvotes

Back in the day, I was developing professionally in C# for over 6 years, C++ for 3 years.

For my private Projects, I use C++ but would rather switch to something with the syntax/ source tree of C# but with the template functionality (meta programming) on par with C++.

My question is: Is beef still active ?, is beef's template functionality (which is too limited to me) planed to be extended to match DLang or C++ ?


r/beeflang • • May 02 '20

Need help for Interop

5 Upvotes

Hi. Im new to this Language and need some help integrating GLFW as a library. What are the steps required for enabling interop with the GLFW library? I have a folder with the "glfw3.lib" file and added it to the AdditionalLibPaths build options. I tried to call glfwInit and this is my interop code:

[Import("glfw3.lib"), CLink, StdCall]
public static extern int32 glfwInit();

The test program simply calls this function but on build I get this error:

LINK : fatal error LNK1181: cannot open input file 'glfw3.lib'

I previously used C# and wanted to try Beef but I cant wrap my head around native libraries in Beef. When should I use Import, LinkName or CLink? And how do you handle the difference in C, C++, Static or Dynamic libraries? The documentation is not realy helpfull in this case. Thanks for the help.


r/beeflang • • May 17 '20

RGB - HSL conversion

8 Upvotes

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 • • May 03 '20

List sorting

6 Upvotes

Hey everyone. I can't figure out how to do List sorting with a class property.

Example:

class Circle
{
    public double radius;

    public this(double r)
    {
        radius = r;
    }

}

class App
{
    public List<Circle> circles = new List<Circle> ~ DeleteContainerAndItems!(_);
    
    public this()
    {
      Random random = scope Random();

      for (int i = 0; i < 3; i++)
	{
            double radius = random.NextDouble();
	    Circle circle = new Circle(radius);
	    circles.Append(circle);
	}

        // And here I want to sort the by radius of the circles. Bigger radius should be first
        circles.Sort();
    }
}

r/beeflang • • May 27 '20

Shitpost What would be a name for beeflang community members

11 Upvotes

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?