C this

>C this
>Rust that
Why isn't Jow Forums using Zig? It addresses all your concerns and problems with C and Rust

Attached: 27973237.png (395x395, 5K)

Literally who?

I use C++
even on puny Atmega uC

Attached: 8zkcvaq.jpg (159x368, 54K)

@ shit is gay.
Reliance on llvm is gay.

>It addresses all your concerns and problems
One of my biggest problems with any language is extreme verbosity

const std = @import("std");

pub fn main() !void {
const stdout_file = try std.io.getStdOut();
try stdout_file.write("Hello, world!\n");
}

You mean it has its own compiler backend, doesn't look like shit and has proper pattern matching?

Attached: 2014-08-19-672-Procedural-Content.png (1020x423, 447K)

just go full verbose,fuck this gay syntax
using "std"

public procedure main()
begin
const
stdout := try std.io.getStdOut;

try.stdout.write("helo gay");

end

>importing "std" doesn't import all the stuff inside std
Instantly disqualified

zig? more like nig
get it? xD

>It addresses all your concerns and problems with C and Rust
please elaborate

My post became a thread lol. Let's shill for this yellow language!

based

>Own compiler backed
Why is that good?

Because it is impossible to make LLVM a fast backend. Many have tried.

Attached: 2016-04-19-832-Glue.png (1020x377, 469K)

Then how are clang and rust so close to gcc's performance. They're even beating gcc in some cases.

look out guys we have a compiler expert here

he's talking about a fast compiler not a compiler that produces fast code know the difference.

who fucking cares how fast a compiler is so long as it isnt c++ garbage that takes minutes

Neither are fast. Friendly reminder: A handful of rather fast SSA-based optimizations account for all devs should ever require if they didn't bloat their shit up and suck cocks.
Everything else leads to Electron based bloatware by rebound effect.

Attached: 2013-11-12-610-Emissary-of-Jahbulon.png (1020x1046, 523K)

* Simple and clean syntax. Alot of people like C due to its simplicity.
* Zig has superior metaprogramming through compile time code execution. No seperate syntax for macros unlike rust and C.
* Reflection
* Integer types have short and clear names(i8, i32, u8, u32...) and unlike int in C they have a defined size.
* Strings are just byte-arrays with a length instead of null terminated strings.
* Defines signed overflow through +% and -% operators. + and - has undefined behaviour for optimization.
* Strict float mode can be enabled on functions by your choice. This is very useful if you want determinism.
* No operator overloading. This is one of the most abused syntax features ever.
* Vectors.
* Optional bounds checking
* Built in build system
* C interoperability
* Tagged unions.
* break and continue through nested loops without goto.
* Defer statements. Say goodbye to RAII!
* Superior error handling through error types. Errors must be checked unlike with error codes in C.
* Pointers can't be null unless you are using nullable pointer.
* Better and safer type casting.
* A good compromise between safety and freedom to write wathever you want. No stupid borrow checker preventing you from writing even the most simple data structures like a linked list.

stop posting those gay comics please, nobody cares

Some of those sound good, but if defer statements work like in golang you lost me.

Attached: 2014-05-13-650-Redundancy.png (1020x1700, 2.97M)

No defer statements execute at the end of a block unlike in Go where they execute at the end of the function.

If nobody did care you wouldn't beg me to stop. Chances are, people like you don't actually care, but it clogs up their download scripts or some shit.

Attached: 2013-03-28-573-Semantics.png (768x789, 940K)

I care that you're being annoying, I don't care about your stupid comic

That's slightly better, but not good.

Attached: 2014-11-20-695-We-like-quiet.png (1020x347, 419K)

>reflection
while it is actually
>Compile-time reflection and compile-time code execution. No preprocessor.
It makes a big difference.

majority of C++ compile times is spend in front-end

Attached: clang-timereport-teaser.png (1636x376, 10K)

>I care that you're being annoying,
Why are you even on Jow Forums.

Oh well, back to Rick and Morty, 9gag memes and excessive frogposting.

Jow Forums isn't a place to be annoying fuckhead

I know but we are not discussing languages with inherent shit-tier compile times, are we?

There are so many new languages popping out. Zig was nice to learn how some features are implemented, it's overall very nice. And comes close to what I would consider a good language.
But I am becomming annoyed to start using anything new.

you was claiming long time being spend in backend

>it's only serious business on 4channel
That first cracked me up, but then I'm a spelling nazi and misspelling 4channel automatically triggers me to post images.

Attached: 2013-05-23-582-Invaders-must-die.png (768x777, 903K)

And it is, compared to what could be.
It takes longer to compile less than thousand lines than to start CPython (a joke of an interpreter)?
It's too slow.

>who fucking cares how fast a compiler is
>just distribute binary blobs and hope for the best
source based distribution of software is the only correct answer. compilers have a responsibility to be quick. wirth > k&r.

This, but unironically.

most people dont know how to compile a program you open source clown

package managers are responsible for compiling and installing software. users should only be expected to learn how to use a package manager. most linux distros ship with a dead simple gui based "software center" that requires zero knowledge to use.

Just report him for spam/advertising and move on

Say hello to perl 6.

if it compiles as fast as gcc I'll take it
rustc is so fucking slow it's unbearable

I'm waiting for Jai

I'm waiting for Jai

>if something isn't annoying, then it's serious business

I just a want a language where it's easy to create GUI and do graphics in general. Native OS libraries, opengl and especially vulkan have so much boilerplate.

It does, it compiles faster than C

I have 0 problems with c, and 99 problems with rust starting with the abhorrent community.

I'm waiting for Jai