Skip to content

Instantly share code, notes, and snippets.

View torkleyy's full-sized avatar

Thomas Schaller torkleyy

  • Wolf GmbH
  • Bavaria, Germany
View GitHub Profile
@slimsag
slimsag / ramblings.md
Last active December 13, 2023 08:02
Because cross-compiling binaries for Windows is easier than building natively

Because cross-compiling binaries for Windows is easier than building natively

I want Microsoft to do better, want Windows to be a decent development platform-and yet, I constantly see Microsoft playing the open source game: advertising how open-source and developer friendly they are - only to crush developers under the heel of the corporate behemoth's boot.

The people who work at Microsoft are amazing, kind, talented individuals. This is aimed at the company's leadership, who I feel has on many occassions crushed myself and other developers under. It's a plea for help.

The source of truth for the 'open source' C#, C++, Rust, and other Windows SDKs is proprietary

You probably haven't heard of it before, but if you've ever used win32 API bindings in C#, C++, Rust, or other languages, odds are they were generated from a repository called microsoft/win32metadata.

anonymous
anonymous / playground.rs
Created December 8, 2017 15:07
Rust code shared from the playground
use std::cmp;
use std::u32::MAX;
use std::num::ParseIntError;
const INPUT: &str = "1208 412 743 57 1097 53 71 1029 719 133 258 69 1104 373 367 365
4011 4316 1755 4992 228 240 3333 208 247 3319 4555 717 1483 4608 1387 3542
675 134 106 115 204 437 1035 1142 195 1115 569 140 1133 190 701 1016
4455 2184 5109 221 3794 246 5214 4572 3571 3395 2054 5050 216 878 237 3880
4185 5959 292 2293 118 5603 2167 5436 3079 167 243 256 5382 207 5258 4234
94 402 126 1293 801 1604 1481 1292 1428 1051 345 1510 1417 684 133 119
anonymous
anonymous / playground.rs
Created December 8, 2017 13:53
Rust code shared from the playground
const INPUT: &str = "6169763796227664136644229724736711773811471986347364813198\
2449728688116728695866572989524473392982963976411147683588415878214189996163533\
5845471757941581181487242988327988983333997865614591526441446699598873414819683\
1917298735798978579136673284993278834377211217661472385847495991971385539887695\
6427631354172668133549845585632211935573662181331613137869866693259374322169811\
6836353253215972428893581471233581177749146537873713685747843767216521817923716\
3528837672978496752682491519252674493518798957134774622211362557796347614192318\
7534658445615596987614385911513939292257263723518774888174635963254624769684533\
5314437457293443419737464693268381862484484835874775632858674999564462187752323\
7438343392183599313646338362886111557314285435894329114876629965363319558213593\
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active May 9, 2024 20:00
Hyperlinks in Terminal Emulators