➜ neofetch | |
'c. luppy@5ce91ef07f94 | |
,xNMM. ------------------ | |
.OMMMMo OS: macOS 14.5 23F79 arm64 | |
OMMM0, Host: Mac14,12 | |
.;loddo:' loolloddol;. Kernel: 23.5.0 | |
cKMMMMMMMMMMNWMMMMMMMMMM0: Uptime: 1 day, 1 hour, 52 mins | |
.KMMMMMMMMMMMMMMMMMMMMMMMWd. Packages: 77 (brew) | |
XMMMMMMMMMMMMMMMMMMMMMMMX. Shell: zsh 5.9 | |
;MMMMMMMMMMMMMMMMMMMMMMMM: Resolution: 3840x2160 |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <pthread.h> | |
#include <sys/time.h> | |
#include "tb_client.h" | |
///////////////////////////////////////////////////////////////////////////////////// | |
// Place this file at the same folder tb_client.h // | |
// Shows the basic usage of the TigerBeetle C client. // |
Este texto é inspirado em A Half Hour to Learn Rust.
This is intended as a place to list blog posts about Zig, for anyone who's interested in reading what people have to say! Also check out links at https://ziglang.org/learn/ and https://ziglang.org/news/.
Posts were found by searching on lobste.rs, at https://dev.to/t/zig and https://medium.com/tag/zig.
Please let me know in a comment if there are any posts missing that you'd like me to add here!
This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/
the command zig run my_code.zig
will compile and immediately run your Zig
program. Each of these cells contains a zig program that you can try to run
(some of them contain compile-time errors that you can comment out to play
with)
set(CMAKE_EXECUTE_PROCESS_COMMAND_ECHO STDOUT) | |
if(CMAKE_HOST_WIN32) | |
set(qt_target_dir "msvc2019_64") | |
elseif(CMAKE_HOST_APPLE) | |
set(qt_target_dir "clang_64") | |
else() | |
set(qt_target_dir "gcc_64") | |
endif() |
- Básico: Complexidade: (https://en.wikipedia.org/wiki/Time_complexity)
- How Quantum Computers Break Encryption | Shor's Algorithm Explained (https://www.youtube.com/watch?v=lvTqbM5Dq4Q)
- How to Make Sense of Google’s Quantum Supremacy Claim (https://www.extremetech.com/extreme/300987-googles-quantum-supremacy-paper-tldr-edition)
- The Extreme Physics Pushing Moore’s Law to the Next Level (https://www.youtube.com/watch?v=f0gMdGrVteI)
- Graphene Processors and Quantum Gates (https://www.youtube.com/watch?v=VLPpDoMBVK0)
- How Quantum Computers Break Encryption | Shor's Algorithm Explained (https://www.youtube.com/watch?v=lvTqbM5Dq4Q)
- How Shor's Algorithm Factors 314191 (https://www.youtube.com/watch?v=FRZQ-efABeQ)
- How Does a Quantum Computer Work? (https://www.youtube.com/watch?v=g_IaVepNDT4)
- What is Quantum Mechanical Spin? (https://www.youtube.com/watch?v=v1_-LsQLwkA)
- Secret Key Exchange (Diffie-Hellman) - Computerphile (https://www.youtube.com/watch?v=NmM9HA2MQGI)
These results are invalid. Some of the server implementations don't parse correctly and rust-tokio/ponylang-tcp don't seem to parse at all. See here for better benchmarks: https://gist.github.com/kprotty/5a41e9612657de00788478a7dde43d78
====
wrk -t4 -c128 -d10 --latency http://localhost:12345
- Machine:
- Intel Core i7-6700k (4 cores, 8 threads, 4.2ghz)
- 16GB DDR4 2400mhz RAM
- Arch Linux, Kernel 5.2.8
(draft; work in progress)
See also:
- Compilers
- Program analysis:
- Dynamic analysis - instrumentation, translation, sanitizers