Am I? · @ami
145 followers · 1823 posts · Server floss.social

@thephd
"... now that we have constexpr"

#TIL #clanguage

Last updated 1 year ago

InfoWorld · @InfoWorld
46 followers · 530 posts · Server techhub.social
IT News · @itnewsbot
3633 followers · 270692 posts · Server schleuss.online

What is LLVM? The power behind Swift, Rust, Clang, and more - The development landscape is ripe with new languages and improvements on existing ones... - infoworld.com/article/3247799/

#rust #swift #kotlin #clanguage #opensource #developmenttools #softwaredevelopment

Last updated 1 year ago

Kakurady · @kakurady
286 followers · 982 posts · Server fursuits.online

Reminder: (*void)0 isn't required to be all-zero in memory, and dereferencing it isn't required to crash

#clanguage #cppprogramming #cplusplus

Last updated 1 year ago

IT News · @itnewsbot
3502 followers · 266998 posts · Server schleuss.online

Cython 3.0: The next generation of Python at the speed of C - Cython, the Python library for compiling Python code to C, has at last released versio... - infoworld.com/article/3702888/

#python #clanguage #softwaredevelopment #developmentlibrariesandframeworks

Last updated 1 year ago

Yaroslav Khnygin · @surabax
70 followers · 723 posts · Server mastodon.ie
IT News · @itnewsbot
3480 followers · 266294 posts · Server schleuss.online

Rising C++ closes in on C language - C++, having already overtaken Java in the Tiobe index of programming language populari... - infoworld.com/article/3702350/

#c #java #clanguage #javascript #softwaredevelopment #programminglanguages

Last updated 1 year ago

Kakurady · @kakurady
248 followers · 155 posts · Server fursuits.online

@tilton you need to know that modern (post-2015) C++ is not like C. While much of C syntax is still accepted, don't write C in C++ unless you're interfacing with legacy code. In particular, avoid managing memory yourself, use containers and local variables instead.

On that note: C is not a "portable assembler", think of it as running on a VM that's just really good at generating code—the VM behavior (or "abstract machine") may or may not match your hardware.

#cplusplus #clanguage #cprogramming

Last updated 1 year ago

mario buoninfante · @mariobuoninfante
19 followers · 46 posts · Server fosstodon.org

The best point ever made about 1-index vs 0-index tables/arrays/etc.

youtube.com/live/04gJXpJ1i8M?f

#lua #clanguage

Last updated 1 year ago

sourcerer · @sourcerer
1 followers · 26 posts · Server fosstodon.org
otheorange_tag · @otheorange_tag
418 followers · 15271 posts · Server mstdn.social

Here is the implementation cloud gui app. Yes it is minimal. I can probably knock these out in every language in a few minutes each.

#clanguage

Last updated 1 year ago

DansLeRuSH ᴱᶰ · @danslerush
685 followers · 4026 posts · Server fosstodon.org

« is a written in x86-16 assembly that fits within the 512 byte boot sector of an x86 machine. It supports a subset of C that is large enough to write real and interesting programs. It is quite likely the smallest C compiler ever written. » xorvoid.com/sectorc.html

#clanguage #sectorc #c #compiler

Last updated 1 year ago

DansLeRuSH ᴱᶰ · @danslerush
685 followers · 4026 posts · Server fosstodon.org

« SectorC is a written in x86-16 assembly that fits within the 512 byte boot sector of an x86 machine. It supports a subset of C that is large enough to write real and interesting programs. It is quite likely the smallest C compiler ever written. »
xorvoid.com/sectorc.html

#c #compiler #clanguage

Last updated 1 year ago

Chris Bohn · @DocBohn
236 followers · 832 posts · Server techhub.social

I know you said that you thought the material we covered in the first few weeks of class was useless and that you'd never again use it, but would you please wait until after the semester is over before implementing that plan? 😩

#clanguage #c #sizematters #noxp

Last updated 1 year ago

InfoWorld · @InfoWorld
13 followers · 214 posts · Server techhub.social
IT News · @itnewsbot
3179 followers · 258354 posts · Server schleuss.online

GCC 13 compiler collection backs C++ 23, Go 1.18 - GNU Compiler Collection 13.1 has been released. Among the many improvements in this ma... - infoworld.com/article/3695071/

#c #googlego #clanguage #developmenttools #softwaredevelopment

Last updated 1 year ago

IT News · @itnewsbot
3074 followers · 255632 posts · Server schleuss.online

C rival Zig language cracks Tiobe index top 50 - Zig, a general purpose programming language that interacts with C/C++ programs and pro... - infoworld.com/article/3692910/

#c #clanguage #softwaredevelopment #programminglanguages

Last updated 1 year ago

InfoWorld · @InfoWorld
11 followers · 139 posts · Server techhub.social
JdeBP · @JdeBP
106 followers · 2867 posts · Server mastodonapp.uk

note:

2023-03-14 equals 2006 even in the and , because although the leading 0 denotes octal, 03 is luckily just 3.

PS C:\> 2023-03-14
2006
PS C:\>

In , too. And for the minority date format users:

PS C:\> 14/3/2023
0.00230680507497117
PS C:\> 7/22/2023
0.000157282164202579
PS C:\>

These are only going to get further away from pi as the years go on. (-:

#programming #clanguage #cplusplus #powershell #Maths #pi

Last updated 1 year ago

JdeBP · @JdeBP
103 followers · 2813 posts · Server mastodonapp.uk

@ccnethercott

At some point, by the way, you're going to learn that "cpp" is widely understood as the name of some (standalone) C/C++ preprocessor tools, not the name of the C++ language.

man.freebsd.org/cgi/man.cgi?qu

#cplusplus #clanguage

Last updated 1 year ago