News for hackers. Stuff that matters.

jobhdez

How to become a great web back end engineer?

Hello, so I’m just curious what it takes to be a great backend engineer.What CS knowledge do you need to understand?What are some backend engineer fundamentals?And in terms of actual practice l, what technologies/ languages should someone know if they want to be a great backend engineer? Thanks

( Read More... | 2 comments | on HN )
Thank you so much for this response.

Dear back end web engineers: how would you describe back end work?

Hello you all. I find backend web engineering interesting especially the infrastructure such as http and tcp protocols, key value stores, cache, message queues and so on. I’ve done some toy web services but personally and I’m curious about the event driven nature of node. I find node actually interesting. I have tried Django but don’t find Django intellectually stimulating at all.So could you...

( Read More... | 3 comments | 3 points | on HN )
wow -- thanks so much. I will learn group theory and abstract algebra. thanks

Did studying proof based math topics e.g. analysis make you a better programmer?

Hello, Hope all is well. I love math but haven’t studied much of it.I have only studied up to real analysis. But definitely not a whole semester worth; my experience with analysis has been analogous to Poor performance in a quarter based analysis course. I did some exercises but not many.I have heard from an mit professor[1] that math is the way to learn to think rigorously. So I’m curious...

( Read More... | 52 comments | 9 points | on HN )

Implementing a compiler has been an illuminating experience

I have been on a journey of studying compilers and despite only knowing some of the basics and despite writing only a few small compilers, my compiler studies have been illuminating. I feel like I have a much deeper understanding than I use to about the programming languages that I use and I am starting to visualize how high level programming constructs such as arrays, tuples, if statements, if...

( Read More... | no comments | on HN )
Re:What interns wrought at Jane Street (2018) on Friday June 02, 2023 @08:26PM (#36172500)
Implementing tcp sounds like a lot of fun!
Very I interesting project. Thanks. I’m going to start using it for my job search. Great job!
Re:The dragon compiler book (2nd edition) is a great book on Thursday June 01, 2023 @11:34PM (#36160626)
My apologies for saying the following but can you share some books or papers that support your view? The example that I provided was from the dragon book. CMU uses that same example for one of its ssa slides for an compiler optimization course. This makes me think that I can I indeed lower an ast to ssa that looks like the example I gave and still exploit the ssa for optimization.

But you may know more than the authors of the dragon book and cmu professors. Perhaps you work on llvm or something professionally?

But yeah if you can please provide support for your view. Thanks

Re:The dragon compiler book (2nd edition) is a great book on Thursday June 01, 2023 @04:26AM (#36148724)
Three address code:

```

p = a + b

q = p-c

p = q * d

```

Ssa:

```

p1 = a+ b

q1= p1 - c

p2 = q1 * d

```

Given the above examples how is it not straightforward to use ssa instead of three address code using what the dragon book teaches? What is wrong with the above examples?

The first programming language I learned was Scheme - I read the little schemer by Felleisen but my second book was what really taught me to program. This second book was structure and Interpretation of computer programs. I’ve been using lisp ever since. Scheme is a a beautiful language but I’m a Common Lisp guy now a days
Re:The dragon compiler book (2nd edition) is a great book on Thursday June 01, 2023 @03:42AM (#36148496)
It’s really rewarding though when you write a compiler. I recommend the experience. But if you think about compilers are so fundamental for the whole software infrastructure. So I think compilers is worth knowing. You will understand languages better; for example you will understand how statically and dynamic languages work because you will Implement a type checker, you will understand lexical scoping better because you will compile this to assembly; and overall you will have a better idea of how your high level code looks like in assembly which could help you write efficient code.you will also get to understand how memory is laid out which will help you appreciate NGINX.so by learning compilers I think you will be appreciate more web development. Those are my thoughts anyways. I’m not saying I’m correct but that’s what I’ve noticed in my journey
Re:The dragon compiler book (2nd edition) is a great book on Thursday June 01, 2023 @03:29AM (#36148442)
SICP was a great book too. It taught me to program, and bent my mind. I just marveled at the Beauty of it a few times.
Re:The dragon compiler book (2nd edition) is a great book on Thursday June 01, 2023 @03:26AM (#36148431)
I have heard good things about this book.
Re:The dragon compiler book (2nd edition) is a great book on Thursday June 01, 2023 @03:23AM (#36148405)
The book introduces three address code which is similar to ssa
Re:The dragon compiler book (2nd edition) is a great book on Thursday June 01, 2023 @03:22AM (#36148403)
Yea the authors of the book won a Turing award a few years ago.
Re:The dragon compiler book (2nd edition) is a great book on Thursday June 01, 2023 @03:19AM (#36148388)
I think you would have the knowledge to build a parser generator that then you can use to write a parser for json. But you can also also just learn how to use a parser generator. You’ll have to know a little bit about regular expressions for this
Re:The dragon compiler book (2nd edition) is a great book on Thursday June 01, 2023 @03:09AM (#36148338)
You can try this book if you want something that came out this year https://github.com/IUCompilerCourse/Essentials-of-Compilatio.... Go to the releases to either get the racket version or python version. But I mean cmu uses the dragon book second edition for a graduate level compiler optimization class.
Re:The dragon compiler book (2nd edition) is a great book on Thursday June 01, 2023 @02:58AM (#36148294)
But the dragon book introduces three address code. SSA is a variant of three address code. Take a look here http://www.cs.columbia.edu/~aho/cs4115/Lectures/15-03-25.htm....

The dragon compiler book (2nd edition) is a great book

Hello,I have seen a lot of people on the internet say that the dragon book is horrible book to learn compilers from.well, I have read some of the second edition of the dragon book and I think it is a great book. The main criticism is that its too focused on parsing. Thats just like 5 chapters. I skipped these and went straight into the intermediate language, code generation, and optimizing...

( Read More... | 46 comments | 2 points | on HN )
Re: on Thursday March 23, 2023 @02:49PM (#35279511)
pretty cool blog post about how fb is using haskell to fight spam.
Re:How to Learn Chess as an Adult on Thursday March 23, 2023 @12:36AM (#35270590)
I started playing chess when I was 18 and my highest rating I got was around 1500 on chess.com but then I stopped.

Lately I’ve been playing chess with a friend and I’m getting the hang of it and im finding chess really fun!

I want to get better now. Chess is fun you all. You should play it!

Thanks! Are you a compiler engineer?
You didnt let me down :)

I know the compiler industry is full of people with masters degrees and PHDs.

then would you say getting at least a BS in math or CS the way to go? or should i aim harder and get a masters or PHD? thanks

How likely is it to get a compiler software job with only a high school degree?

Hello,I thing compilers are very interesting. I have built my own compilers in common lisp and I enjoyed my time. I basically almost completed a university quarter compiler project based on Dr. Siek's book "Essentials of Compilation". I did almost eveything a student would do in a quarter system except for implementing tuples and register allocation. One of my plans is to build a more...

( Read More... | 6 comments | 4 points | on HN )
take a look at my scheme to c compiler written in Common Lisp for reference. I implemented a parser. https://github.com/Jobhdez/scheme-to-c
I was thinking of contributing to the Haskell compiler or llvm. I’m curious and interested in these. There’s also other smaller projects I’m interested in.

Older »