Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
greyblake
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Branchless Rust: Making a Filter 4x Faster by Removing an If
(greyblake.com)
293 points
by
greyblake
2mo ago
|
110 comments
2.
▲
No Human Error (Comic)
(nullwing.com)
2 points
by
greyblake
5mo ago
|
2 comments
3.
▲
by
greyblake
5mo ago
Short comic about AI systems and error handling.
4.
▲
Nutype (rust crate) 0.6.2 released
(github.com)
1 points
by
greyblake
1y ago
|
1 comments
5.
▲
by
greyblake
1y ago
## What is nutype? *nutype* is a procedural macro that adds sanitization and validation to newtypes, ensuring that values always meet your defined constraints. ## What’s new in v0.6.2 * *\[FEATURE]* Added `derive_unsafe(..)` for derivin
6.
▲
Alternative Blanket Implementations for a Single Rust Trait
(greyblake.com)
35 points
by
greyblake
1y ago
|
3 comments
7.
▲
by
greyblake
2y ago
Nutype is a proc macro that allows adding extra constraints like sanitization and validation to the regular newtype pattern. The generated code makes it impossible to instantiate a value without passing the checks. It works this way even wi
8.
▲
by
greyblake
5y ago
CoffeeScript is a language without static typing. Despite this, CoffeeScript actually made a real revolution when it was introduced.
9.
▲
by
greyblake
5y ago
You don't have to. You can have write a single component in ReScript and use it with the rest of the project written in JS or TS. See https://rescript-lang.org/docs/gentype/latest/introduction
10.
▲
by
greyblake
5y ago
Whatlang demo webpage is implemented with seed: https://whatlang.org/
11.
▲
by
greyblake
5y ago
+1
12.
▲
by
greyblake
5y ago
There still "weak" points, where incorrect typing can be introduced, e.g. incorrectly written bindings. Regarding data from HTTP call in theory they can be cast to any type abusing `external` keyword which is meant for binings. Bu
13.
▲
by
greyblake
5y ago
Because a programming language is not a template engine.
14.
▲
by
greyblake
5y ago
I agree, ReScript has no big adoption (hopefully yet), and that's the biggest disadvantage in comparison with TypeScript. But somebody has to do the first steps...
15.
▲
by
greyblake
5y ago
> the use of decorators in even the most basic example Can we agree that JSX is not a valid JS? So decorators are required indeed to simulate "JSX magic" > no async/await. As I mentioned, it's not an really an iss
16.
▲
by
greyblake
5y ago
Thanks for your comment! I am aware of PureScript and even tried it a little bit 3-4 years ago, but was not aware that it has good interops too!
17.
▲
Simple SPA fully implemented in Rust
(whatlang.org)
2 points
by
greyblake
5y ago
|
0 comments
18.
▲
Cost of String Indexing in Ruby
(greyblake.com)
1 points
by
greyblake
6y ago
|
0 comments
19.
▲
Rust module system explained (video for beginners)
(youtube.com)
2 points
by
greyblake
6y ago
|
0 comments
20.
▲
Testing Infinite Loop in Ruby
(greyblake.com)
1 points
by
greyblake
8y ago
|
0 comments
21.
▲
WASM in action: demo example for a Rust library
(greyblake.com)
4 points
by
greyblake
8y ago
|
0 comments
22.
▲
Generic traits as an alternative to method overloading in Rust
(youtube.com)
2 points
by
greyblake
8y ago
|
0 comments
23.
▲
Rustcast #7 – How to implement Iterator in Rust programming language
(youtube.com)
4 points
by
greyblake
8y ago
|
0 comments
24.
▲
Traits from and into (rustcast video for beginners)
(youtube.com)
3 points
by
greyblake
8y ago
|
0 comments
25.
▲
Coloring terminal output in Rust programming language
(youtube.com)
2 points
by
greyblake
8y ago
|
0 comments
26.
▲
Variables in Rust (video for beginners)
(youtube.com)
3 points
by
greyblake
8y ago
|
0 comments
27.
▲
Rust data types (video for beginners)
(youtube.com)
3 points
by
greyblake
8y ago
|
0 comments
28.
▲
Test Driven Development in Rust
(youtube.com)
6 points
by
greyblake
8y ago
|
0 comments
29.
▲
How to Fix Intermittent Test Failures
(greyblake.com)
2 points
by
greyblake
9y ago
|
0 comments
30.
▲
My two cents in Rust2018
(greyblake.com)
4 points
by
greyblake
9y ago
|
0 comments
More ›