Better HN
topnewbestaskshowjobs
Log inSign up

jcaguilar

12 karma · joined Nov 7, 2019 (7y ago) · 15 submissions

Submissions

comment 1y ago · link · parent

I only wish that the syntax was changed to make it easier to search/grep for the definition of functions and types. Odin makes this so nice, you can search for “<function|type name> ::”. Maybe moving the return type to after the closing parenthesis would be enough?

2 more wishes: add named parameters and structured concurrency and I think it would be a very cool language.

comment 2y ago · link · parent

This reminded me of The Cherno’s Walnut library:

https://youtu.be/-NJDxf4XwlQ

comment 2y ago · link · parent

Interesting, I can see those 2 issues.

comment 2y ago · link · parent

Do you mind explaining why defer is a problem in Go? I only have experience with Java’s try-with-resources which I like a lot, it looks like C# using is similar.

comment 2y ago · link · parent

I see often people mentioning that Metal’s API is the easiest to use between DX12, Vulkan and Metal. I saw that the game engine mach (Zig) is creating sysgpu which is based in WebGPU. Maybe a silly question and probably too much work, but I wonder, Would it be possible to recreate Metal’s API on top of Vulkan and DX12?

comment 3y ago · link · parent

This was in HN yesterday. It has tips in how to start:

https://www.npr.org/2019/12/30/792439555/making-art-is-good-...

comment 4y ago · link · parent

Essential Calculus

Skills Practice Workbook with Full Solutions

By Chris McMullen

Review: https://www.youtube.com/watch?v=Eqfa6MhAqcw

comment 4y ago · link · parent

His episode 89 - Just Draw - was so useful to me: https://youtu.be/WLqWX7onVmU

comment 4y ago · link · parent

a JVM language (Java, Kotlin) is your best bet, I have used the JVM for years. I had problems using JS or Python. .net should work well too but I have not experience with it.

comment 6y ago · link · parent

C# is not hard to do after knowing Java, here is an option in DotNet: https://github.com/mono/SkiaSharp

comment 6y ago · link · parent

I think you talking about this one? https://forge.medium.com/how-to-become-the-best-in-the-world...

comment 6y ago · link · parent

This is a great reply. Reminds me of this post "How to Become the Best in the World at Something": https://forge.medium.com/how-to-become-the-best-in-the-world...

comment 6y ago · link · parent

An article about a trick that maybe could help you with loading images: https://css-tricks.com/the-blur-up-technique-for-loading-bac...