HNHacker News
TopNewBestAskShowJobs

iamd3vil

2,227 karma · joined December 18, 2014

Go & Rust developer.

Works at Zerodha, Bengaluru.

https://sarat.dev

submissionscomments
iamd3vil··on Show HN: Workq – Job Server in Go
If I am not wrong, a job means a message you are sending such that different workers can pick it up. Correct me if I am wrong. What's the difference between something like RabbitMQ and this? Genuinely curious.
iamd3vil··on What Golang Is and Is Not
Go has more performance if there is some number crunching work but if it comes to APIs or web applications, I don't think so. That techempower benchmark for Phoenix is seriously flawed [3]. We use Elixir in production and according to our benchmarks, the performance is very close to Go or sometimes even better. We also use Plug (which is used by Phoenix underneath) directly if it is just a small API. These benchmarks relates more to our experience. [1] [2]

1. https://github.com/mroth/phoenix-showdown/blob/master/RESULT...

2. https://gist.github.com/omnibs/e5e72b31e6bd25caf39a

3. https://groups.google.com/d/msg/phoenix-talk/hljH55fsqqw/eFX...

iamd3vil··on PHP the Wrong Way
If you want to write spaghetti code, you can write it whichever approach you take. It's more about making it difficult to shoot yourself in the foot.
iamd3vil··on PHP the Wrong Way
I generally agree with the view of keeping your application simple and not using big frameworks but after seeing so many PHP programmers write spaghetti and insecure code, I pretty much recommend frameworks now. You can say the problem is not with writing PHP without any framework but with the programmers, the problem lies with the low barrier for entry into PHP. Frameworks atleast teach you how to make your code modular and make your application secure (atleast sane defaults).
iamd3vil··on Notes on Distributed Systems for Young Bloods (2013)
There's Riak Core which is a framework for distributed systems in Erlang.
iamd3vil··on Crystal: Fast as C, Slick as Ruby
Elixir has a very good getting started guide[0]. I don't know if you have seen this or not. Even in the learning section, it recommends going through the getting started guide. It mentions other books in other resources. I don't know why you think it's hostile to new comers.

I learned Elixir totally from Getting started guide and then the documentation. Then for OTP, I have read an Erlang book to understand it well. Elixir's documentation is really awesome and one of the best I have seen.

[0] - http://elixir-lang.org/getting-started/introduction.html

iamd3vil··on Crystal: Fast as C, Slick as Ruby
Elixir has optional typing though. You can type check with Erlang's Dialyzer.
iamd3vil··on Crystal: Fast as C, Slick as Ruby
I don't know if Elixir is mainstream or not, but there are a lot of companies using Elixir in production (including the company I work for). You can find the list of companies at https://github.com/doomspork/elixir-companies
iamd3vil··on Remove Firefox Hello from FF49
You don't need Firefox for a video chat. It sends a link and you can open it in any browser.
iamd3vil··on Lisp Flavoured Erlang
They are not compiling to JVM. LFE compiles to BEAM.
iamd3vil··on Announcing GenStage
If you are interested in books, "Elixir in Action" is quite a nice introduction to OTP.
iamd3vil··on Introducing Worldwide SMS Messaging
Do you know any good SMS providers for India with a nice API? I am looking for one and can't decide which one is good.
iamd3vil··on Go best practices, six years in
I worked with both Go and Elixir but found Elixir and Phoenix better than Go for building backends for web services. I was more productive and all the awesomeness of Erlang VM made me choose Elixir. I would say give Elixir a try.
iamd3vil··on Ask HN: Is Golang mature enough for FinTech startups?
I work in a FinTech startup and most of our components are written in Elixir and are in production. We are very happy with it. So I would say atleast consider Elixir and Phoenix. It's as performant as Golang, it's even better in some cases and it's a better language than Golang imo.
iamd3vil··on Ask HN: What would you use to build a super simple web app?
I use Flask if it's an API or Django if it's a web app. These days I use Elixir and Phoenix for most serious web apps though but if it's a small side project, I would reach for Python since that's the language I am most comfortable with. I really like SQLite and I think it's very underrated for small apps, but if it's serious I would use Postgresql since it's fast, reliable and awesome.
iamd3vil··on Ask HN: What are some examples of beautiful software?
Erlang Virtual Machine - It's an amazing piece of software
iamd3vil··on Frameworks Don't Make Much Sense
Phoenix is definitely production ready, as I am using it in many production systems now. 1) You have to eventually get into OTP. Elixir language is ok but all the stuff which makes it attractive is OTP and it's concurrency. If you are building a very small API you don't have to learn OTP ans you can get very far with that. 2) I find Phoenix documentation very good and the number of examples are increasing a lot day by day. 3) The default included bootstrap is just to show the landing page. You have to add your own css which you have to do if you use any other framework or library. 4) Phoenix is nothing like Django or Rails. Phoenix is very modular. See http://theerlangelist.com/article/phoenix_is_modular
iamd3vil··on Why Zapier Doesn't Use Gevent Yet
This seems like a perfect case for something like Elixir/Erlang where you can spawn multiple processes and need not worry because of immutability.
iamd3vil··on Phoenix 1.1 Released
I am a Pythonista myself and I use Elixir at work. Even though Elixir looks like Ruby, it has very little in common with Ruby. Elixir's syntax is very simple and it's very easy to migrate from Ruby/Python. Please try it, you may actually like it more than Python :)
iamd3vil··on Rust 1.5
Actually Elixir and Erlang are totally interoperable with zero overhead. They both compile to BEAM virtual machine code. That "runs on Erlang" part is a selling point IMO.
iamd3vil··on Rust 1.5
Try Elixir (https://elixir-lang.org). Phoenix framework is awesome and working with it is a pleasure.
iamd3vil··on Erlang beauty
Maybe try Elixir if you don't like the syntax of Erlang, because it's really a pleasure to work with Elixir/Erlang.
iamd3vil··on Six years of Go
#elixir-lang is quite nice and noob friendly too.
iamd3vil··on Comparing a web service written in Python and Go [pdf]
Anyone who thinks it's difficult to program in Erlang, please have a look at Elixir(https://elixir-lang.org). It's quite nice to work with.
iamd3vil··on The website is unknown – How DNS works
Awesome.I sent this to my friend who doesn't know anything about DNS and he told me this is awesome. I wasn't expecting that.
iamd3vil··on It Just Works
Linux Mint is working for me pretty well for the past 1 year. Check it out.
iamd3vil··on Atom 1.0
I use may be 10 plugins. The speed is improved but still the startup time is so slow. May be I exaggerated a bit, but it will be definitely around 15-20 seconds for me.
iamd3vil··on Atom 1.0
Atom is nice but much slower than ST3. It takes 30 seconds to open a file while ST3 almost instantly loads. It's not worth switching from Sublime.
iamd3vil··on OCaml 4.03 will, “if all goes well”, support multicore
Take a look at Nim Language. (www.nim-lang.org) A High Performance lang with "Pythonesque" syntax.
iamd3vil··on Pony – High Performance Actor Programming
I think they didn't update that page with the installation instructions and the links to download it.
← PreviousPage 2 of 3Next →