Hacker Newsnew | past | comments | ask | show | jobs | submit | runevault's favoriteslogin

http://lua-users.org/lists/lua-l/2011-02/msg00742.html

Somewhat tangential, but one of the most informative thread on interpreter performance optimization.


> (tangential) and this is where most "build your own compiler" style books fall down.

Have a look at http://t3x.org/s9book - it covers a Scheme implementation including GC, call/cc, low-level macros, type checking, tail call elimination, etc.


For those who are interested and new to meditation, I started meditating several years ago with Headspace and YouTube videos of Jonathan Kabat Zinn and others. It's a great place to start.

I later went on a silent meditation retreat and learned a lot more about meditation and got confident with techniques I could practice on my own. This may not be available to everyone due to the time commitment (and being completely disconnected during this time), but it really cemented my meditation practice.

These days I meditate on my own as well as attend meditation groups (in traditions that I feel connected to). I strive to meditate on my own daily but don't stick to it (ironically meditating has helped me be ok with that inconsistency). While meditating on my own is very helpful, the groups are what really help me stick to the practice. I get a lot from other people's questions and comments and the teachers' responses. I highly recommended finding a group (in a tradition you are open to) if you are just starting out or have an existing meditation practice and want to maintain and develop it.

In the grand scheme, I'm early on and not a "high level" meditator, but sharing one data point, meditation has been pretty life changing for me in terms of dealing with minor mood disorders (depression and anxiety), feeling happier (and recognizing it when I am), and treating others with compassion. It's all still a work in progress.

I'll end with a common phrase. May everyone reading this be happy and free.


Sad day. RIP.

For some context: Hans is famous here for his fantastic series of TED talks which cover population growth, poverty and development.

Totally changed (well, confirmed) my world view.

Start here:

https://www.youtube.com/watch?v=fTznEIZRkLg


Few things consistently blow my mind as insane graphics demos

https://www.shadertoy.com/view/4dfGzS (or basically anything on that site)

How is that 400 lines of code.

Or this one which even generates the sound on the GPU

https://www.shadertoy.com/view/4ts3z2

With the wide adoption of WebGL, it's a good time to get involved in graphics. Furthermore, GPUs are taking over esp. with the advent of machine learning (nvidia stock grew ~3x, amd ~5x last year). The stuff nvidia has been recently doing is kinda crazy. I wouldn't be surprised if in 15 years, instead of AWS, we are using geforce cloud or smth, just because nvidia will have an easier time building a cloud offering than amazon will have building a gpu.

These are some good resources to get started with graphics/games

# WebGL Programming Guide: Interactive 3D Graphics Programming with WebGL

https://www.amazon.com/WebGL-Programming-Guide-Interactive-G...

Historically, C++ has definitely been THE language for doing graphics but if you are starting these these, you would have to have really compelling reasons to start with C++ and not JavaScript and WebGL. And that's coming from someone who actually likes C++ and used to write it professionally.

# Book of Shaders

https://thebookofshaders.com/

# Game Programming Patterns

http://gameprogrammingpatterns.com/contents.html

https://www.amazon.com/Game-Programming-Patterns-Robert-Nyst...

HN's own @munificent wrote a book discussing the most important design patterns in game design. Good book applicable beyond games.

# Game engine architecture

https://www.amazon.com/Engine-Architecture-Second-Jason-Greg...

# Computer graphics: Principles and Practice

https://www.amazon.com/Computer-Graphics-Principles-Practice...

This is more of college textbook if you'd prefer that but the WebGL one is more accessible and less dry.

# Physically Based Rendering & Real-Time Rendering

These discuss some state of the art techniques in computer graphics. I'm not going to claim to have really read them but from what I've seen they are very solid.

https://www.amazon.com/Computer-Graphics-Principles-Practice...

https://www.amazon.com/Physically-Based-Rendering-Third-Impl...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: