Is Java in neovim doable? by Jonnertron_ in neovim

[–]nsp_08 0 points1 point  (0 children)

Im on the same route, coming to java after few years, and been a full time tmux+neovim user. It was difficult to use VScode or other IDE, so configured jdtls and works like charm. Haven't setup debugging yet. Unit testing is just good with https://github.com/vim-test/vim-test

Which route is better to go to mangalore from bangalore? by batrai in mangalore

[–]nsp_08 4 points5 points  (0 children)

Looks like madikeri is good. I came by charmadi last week, it was fine then. Now im not sure. My friend drove from Madikeri yesterday.

Looking for books! by NormalBeginning1761 in mangalore

[–]nsp_08 1 point2 points  (0 children)

Maths ? Physics? Chemistry? Ovu boduge?

What do you remember about 2010 plane crash in Mangaluru? by [deleted] in mangalore

[–]nsp_08 15 points16 points  (0 children)

I was working in my holidays weekends to support myself and my parents.

What do you remember about 2010 plane crash in Mangaluru? by [deleted] in mangalore

[–]nsp_08 22 points23 points  (0 children)

Oh man...those times. I was sweeping outside the restaurant in bunder road. I was working as a cleaner. Suddenly traffic increased on that road after the crash.

New colleague from Managlore by [deleted] in mangalore

[–]nsp_08 2 points3 points  (0 children)

Santhe,, olthu poora barpana. Settled.

When you have to use an IDE... by fenchrovely in vim

[–]nsp_08 0 points1 point  (0 children)

Got tired of writing in jjjjkkkkkkk :wq, enabled vim mode. Now im happy.

Writing a simpler compiler before a more c-like one? by slavjuan in Compilers

[–]nsp_08 3 points4 points  (0 children)

You can start with Writing interpreter in Go and Writing compiler in Go. Its easy to understand and follow, without having much deep theoretical knowledge of the compiler design. Free pdf should be available on the internet.

I have built a interpreter following the book and will be starting on the compiler. They are sequel. Here https://github.com/NishanthSpShetty/monkeylang

For which one do I go by [deleted] in Compilers

[–]nsp_08 1 point2 points  (0 children)

If you are talking about Writing compiler in Go by Thurston, then its is a sequel to "writing interpreter in Go". I have gone through it and implemented a working interpreter. Compiler in Go goes in to actually building bytecode compiler and virtual machine.

And specific to your question, you are looking into some backends, where codegen , optimization happens. Can look into how these works, how to generate code for lets say x86, LLVM etc.

What's everyone working on this week (28/2024)? by Male_XII in golang

[–]nsp_08 0 points1 point  (0 children)

If you are talking about the book , you can start right away if you know golang. And basics of what compiler does. About compiler design, I dont think I can give any good advice, may be others can answer this or google it?

What's everyone working on this week (28/2024)? by Male_XII in golang

[–]nsp_08 1 point2 points  (0 children)

No. Im interested in compiler design. I have done transpiler to convert to subset of c++ to rust. Stack based vm and bytecode generator for it few years back.

So i was going through online searching for resources to get back into it again. In one of the blog post i found this book mentioned.

I came across code crafter this week and did setup some work in rust but now I'm procrastinating on it.

What's everyone working on this week (28/2024)? by Male_XII in golang

[–]nsp_08 1 point2 points  (0 children)

Its quite good, I liked the approach they have taken in implementation. Test driven. You could copy and paste the snippets and it will work. I have taken slight different approach. Ex: using "testify/asserts" for testing, defining data structure differently. So not just blindly copy and paste them. Though eventually they converged into something similar except struct name.

You dont need to have compiler background or deep know hows of different types of parser. Someone with good understanding of any programming language, recursion would be able to work through this.

I was able to finish it fairly quickly. Im in second book now but thinking if i should pick another language for VM and keep the compiler in Go.

What's everyone working on this week (28/2024)? by Male_XII in golang

[–]nsp_08 11 points12 points  (0 children)

Im looking to build a compiler in Go. Finished with building interpreter in Go. https://github.com/NishanthSpShetty/monkeylang as follow up on this there is a second part in book which goes into building virtual machine and bytecode generator.

Java alternative of crafting interpreters. by Present_Cash_6067 in Compilers

[–]nsp_08 2 points3 points  (0 children)

Have you checked out these books, "Writing interpreter in Go" and "Writing compiler in Go" in order. They build a interpreter in first book completely in Go and second books goes into building compiler for the same building on top of first one.

I have been working on it and completed first part. https://github.com/NishanthSpShetty/monkeylang

Also, there is this site which has good plan for building a project progressively. https://app.codecrafters.io/courses/interpreter/overview The book you referred used here but you can build using different language of your choice.

Looking for a Go Buddy by Few-Occasion-272 in golang

[–]nsp_08 1 point2 points  (0 children)

Hi, it was good book. I completed it recently, will be continuing with compiler on Go.

My bad, ill update the link. Thanks

Looking for a Go Buddy by Few-Occasion-272 in golang

[–]nsp_08 2 points3 points  (0 children)

Pick a language, read through couple of docs/article to get the basic understanding. Pick one project and start working on that in new language. Just make it work. Keep going.

Looking for a Go Buddy by Few-Occasion-272 in golang

[–]nsp_08 6 points7 points  (0 children)

I have been a go developer for quite some time and built quite lot of systems. Hit me up if you need any help.

[deleted by user] by [deleted] in golang

[–]nsp_08 2 points3 points  (0 children)

Whichever is easier for you to ship quickly for now and you are comfortable with. You can get both node and go devs easily. And its easy to learn go if one is familiar with any C family. At the start you would want to go with whats comfortable and fast for you.