Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gregoryc_
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
gregoryc_
4y ago
People can be very rust-centric, but compilation of Rust (or Crystal) can take forever. The fast compilation of this "language" makes running scripts be like a scripting language, like Perl. Will it be hard for me to find people w
2.
▲
Emerald C – Ultimate C Preprocessor
(github.com)
2 points
by
gregoryc_
4y ago
|
2 comments
3.
▲
by
gregoryc_
4y ago
I have named this project and I have made a github for it. I am looking for people to have a discussion about the direction of this. After that, code formatting and things like that can be fixed. What functions would you like to add to make
4.
▲
by
gregoryc_
4y ago
https://github.com/gregoryc/EmeraldC/
5.
▲
by
gregoryc_
4y ago
I just made a github. https://github.com/gregoryc/EmeraldC/
6.
▲
by
gregoryc_
4y ago
I just made a github.
7.
▲
by
gregoryc_
4y ago
https://github.com/gregoryc/EmeraldC
8.
▲
by
gregoryc_
4y ago
memcpy is better than strncpy and strcpy ;)
9.
▲
by
gregoryc_
4y ago
Depends on the functions used. memcpy is better than strcpy
10.
▲
by
gregoryc_
4y ago
The simplest solution is a preprocessor. The original founders of C made one, probably because they needed it. But adding another lightweight one is simple. C++ has bloat. Compilation time can be slow. I realize that this is radical, but if
11.
▲
by
gregoryc_
4y ago
Check out https://cboard.cprogramming.com/c-programming/181160-hi-i-ha... I posted this less than 24 hours ago. This might be what you want, and there's no overhead at all. It might actually speed up your code. 15
12.
▲
by
gregoryc_
4y ago
Has anyone checked out this? You can use C, but with better syntax. https://cboard.cprogramming.com/c-programming/181160-hi-i-ha... I'm looking for contributors. :)
13.
▲
by
gregoryc_
4y ago
I currently use #define true 1 and #define false 0 Do you think I should remove that?
14.
▲
by
gregoryc_
4y ago
I'm happy to see that this went semi-viral. I got 2400 views in a few hours :)
15.
▲
by
gregoryc_
4y ago
Yes, I am aware that the style of the crystal script is not perfect yet. That's a TODO
16.
▲
by
gregoryc_
4y ago
I'm trying to gather support for this project. Is anyone interested? I seem to have gotten over 2,400 views on the cprogramming site in a few hours. Give me an email :)
17.
▲
by
gregoryc_
4y ago
I can modify that. Anyone can modify that. I might have a global namespace in some way. I might use a certain prefix. Or I can have an inline function that gets the pointer.
18.
▲
by
gregoryc_
4y ago
A better C C is a fantastic language. C compiles insanely fast, is the fastest language there is, is very clear, is native to all systems, and is useful for all purposes. Some people, e.g., Bjarne Stroustrup, consider that C is `not good en
19.
▲
How to make C much easier and more powerful (C preprocessor)
(cboard.cprogramming.com)
10 points
by
gregoryc_
4y ago
|
9 comments