Search
Setup for Free
S
Silk.NET
•
3y ago
Maxine
Remora.Discord uses a very silly OneOf type
Remora
.Discord uses a very silly OneOf type
Silk.NET
Join
A Discord server for the Silk.NET - your one-stop-shop for high-speed .NET multimedia, graphics, and compute. FOSS.
1,790
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
P
Perksey
•
10/7/23, 10:08 PM
you know
P
Perksey
•
10/7/23, 10:08 PM
it
's scary
A
Aqua
`var variable = new()` perfect
M
Maxine
OP
•
10/7/23, 10:08 PM
it
's almost like that isn
't allowed
A
Aqua
•
10/7/23, 10:08 PM
it should be
A
Aqua
•
10/7/23, 10:08 PM
the compiler just guesses what you want
L
Lyris the Kitori
•
10/7/23, 10:08 PM
constructs a new
object
object
:
^
)
P
Perksey
•
10/7/23, 10:08 PM
it is allowed
P
Perksey
•
10/7/23, 10:08 PM
var x = new { hello = 1};
var x = new { hello = 1};
P
Perksey
•
10/7/23, 10:08 PM
compiles
M
Maxine
Remora.Discord uses a very silly OneOf type
L
Lyris the Kitori
•
10/7/23, 10:08 PM
i think ive seen that package before
https://github.com/mcintyre321/OneOf
M
Maxine
OP
•
10/7/23, 10:08 PM
that
's not the same thing perks
L
Lyris the Kitori
•
10/7/23, 10:08 PM
but i dont want to pull in a nuget dependency for this
A
Aqua
•
10/7/23, 10:08 PM
anonymous objects make me shudder
M
Maxine
Remora.Discord uses a very silly OneOf type
P
Perksey
•
10/7/23, 10:09 PM
Jax and I used to work together on OpenTK
. he
's very big on explicitness
, a quality that has fed into a lot of Silk
.NET too
A
Aqua
anonymous objects make me shudder
M
Maxine
OP
•
10/7/23, 10:09 PM
shoutouts to the 0
.1
% of people that use them
P
Perksey
Jax and I used to work together on OpenTK. he's very big on explicitness, a qual...
M
Maxine
OP
•
10/7/23, 10:09 PM
you guys know each other
?
M
Maxine
shoutouts to the 0.1% of people that use them
L
Lyris the Kitori
•
10/7/23, 10:09 PM
ive seen no one ever use it
P
Perksey
•
10/7/23, 10:09 PM
yeah we talk quite often
M
Maxine
shoutouts to the 0.1% of people that use them
A
Aqua
•
10/7/23, 10:09 PM
introducing ETO
.Forms which actively encourages their usage
!
!
!
!
!
!
!
!
!
!
!
!111111111111111111
P
Perksey
Jax and I used to work together on OpenTK. he's very big on explicitness, a qual...
L
Lyris the Kitori
•
10/7/23, 10:10 PM
explicitness is good
, but i shouldnt have to pull in a whole nuget dep for a basic typechecked discriminated union
, C
# should just have that
T
TechPizza
•
10/7/23, 10:10 PM
dynamic is literally a Dictionary
<string
, object
> but reflection taped on too for good measure
A
Aqua
•
10/7/23, 10:10 PM
c
# moment
P
Perksey
•
10/7/23, 10:10 PM
one thing we also agreed on is that splitting up into multiple packages to make the stuff you do need common and the stuff you don
't need not in your compilation tree makes sense
L
Lyris the Kitori
explicitness is good, but i shouldnt have to pull in a whole nuget dep for a bas...
M
Maxine
OP
•
10/7/23, 10:10 PM
it will eventually
L
Lyris the Kitori
•
10/7/23, 10:10 PM
well i want it now
P
Perksey
one thing we also agreed on is that splitting up into multiple packages to make ...
A
Aqua
•
10/7/23, 10:10 PM
found the rust user
A
Aqua
•
10/7/23, 10:11 PM
lol jk please don
't hurt me
M
Maxine
OP
•
10/7/23, 10:11 PM
you can wait ONE YEAR beyley i
've been waiting like 15 for better generics
L
Lyris the Kitori
•
10/7/23, 10:11 PM
me when my rust target folder is 6gb for hello world
A
Aqua
•
10/7/23, 10:11 PM
takes 5 minutes to compile
A
Aqua
takes 5 minutes to compile
M
Maxine
OP
•
10/7/23, 10:11 PM
that
's just any rust program
M
Maxine
you can wait ONE YEAR beyley i've been waiting like 15 for better generics
L
Lyris the Kitori
•
10/7/23, 10:11 PM
well i need it right now as im writing code right now that would mildly benefit safety wise from it
A
Aqua
•
10/7/23, 10:11 PM
true
M
Maxine
OP
•
10/7/23, 10:11 PM
LLVM needs to spend 7 days compiling your program into nothing
T
TechPizza
•
10/7/23, 10:12 PM
you
're doing it wrong if you
're not compiling linux kernel
+llvm
+clang
+rust
+cargo before your hello world
L
Lyris the Kitori
•
10/7/23, 10:12 PM
inline the whole ass app into the OS
A
Aqua
•
10/7/23, 10:12 PM
idk what it is with cargo and WSL2 but yeezus
i almost fell asleep trying to wait for it to finish
L
Lyris the Kitori
inline the whole ass app into the OS
M
Maxine
OP
•
10/7/23, 10:12 PM
welcome to android
L
Lyris the Kitori
•
10/7/23, 10:12 PM
real
M
Maxine
OP
•
10/7/23, 10:12 PM
the source tree is THE WHOLE THING
A
Aqua
idk what it is with cargo and WSL2 but yeezus i almost fell asleep trying to wai...
T
TechPizza
•
10/7/23, 10:12 PM
say hello to WSL IO being android
-level fast
M
Maxine
OP
•
10/7/23, 10:12 PM
wonder if i can build that on github actions
, it only needs like 150gb free space
T
TechPizza
say hello to WSL IO being android-level fast
A
Aqua
•
10/7/23, 10:12 PM
apparently so
A
Aqua
•
10/7/23, 10:13 PM
WSL2 cant even handle audio properly it seems lmfao
A
Aqua
•
10/7/23, 10:13 PM
which is
annoying
T
TechPizza
say hello to WSL IO being android-level fast
M
Maxine
OP
•
10/7/23, 10:13 PM
usermode
-
> kernelmode
-
> usermode
-
> kernelmode
-
> write to disk
L
Lyris the Kitori
•
10/7/23, 10:13 PM
WSL1 was banger im mad they didnt continue with it
L
Lyris the Kitori
WSL1 was banger im mad they didnt continue with it
M
Maxine
OP
•
10/7/23, 10:13 PM
AGREED
M
Maxine
OP
•
10/7/23, 10:13 PM
fire take
A
Aqua
•
10/7/23, 10:13 PM
why what was the difference
Next page
var x = new { hello = 1};
var x = new { hello = 1};