tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Extension to C language


From: Paulo Henrique Torrens
Subject: Re: [Tinycc-devel] Extension to C language
Date: Tue, 19 Jun 2012 05:03:45 +0000

As some people have messaged me wanting details, I just want to state that the next two weeks I'll take to study for my finals (well, I *really* need to study this time), and then I'll finish what I have and post it all here by the start of July. I'm currently also working to make it compile on OpenSolaris/Nexenta/OpenIndiana, in the case anyone else would need it.



Live long and prosper.




Date: Mon, 11 Jun 2012 20:21:45 -0400
Subject: Re: [Tinycc-devel] Extension to C language
From: address@hidden
To: address@hidden


Good luck.

Miki.


On 11 June 2012 19:15, Paulo Henrique Torrens <address@hidden> wrote:
I'm on my finals week on college, after that I'll take some time and post them here, of course. :)
Just have to study a little for a change...






Date: Mon, 11 Jun 2012 17:26:17 -0400

Subject: Re: [Tinycc-devel] Extension to C language
From: address@hidden
To: address@hidden; address@hidden



Hi Paulo,

This conversation did take a few detours... I am very interested in your work on the ports to OSX and BSD. Any chance of getting those? Since your code is LGPL, any chance of getting a look at those changes?

Miki.



On 28 May 2012 22:52, Paulo Henrique Torrens <address@hidden> wrote:
Hi,

I'm working on a compiler suite project (black.nongnu.org), and made several updates to TCC in order to incentive it's use as bootstrapper compiler and for "publicity", including port to Mac OS X and the Open/Free/Net BSDs (and planning on fixing for Android), the C11 _Atomic, _Alignas and _Generic keywords, and some other stuff. I plan to send a patch soon.

I've made a small extension to my compiler, making "tracked variables" in C. They are just reference counted structs which can call free() automatically.


void test() {
  int ^strong = malloc(sizeof(int));
  printf("strong has %d references", countof(strong));
  int *weak_reference = strong;
  // countage for strong becomes 0 and free(strong) is called automatically
};



Should I update this patch too? I mean, would this extension (enabled with -ftracked-variables) be used into the main branch?
Anyway, I will update all the other patches soon. :)



Greetings.

_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]