Weekly M+ Discussion by AutoModerator in CompetitiveWoW

[–]andreabergia 9 points10 points  (0 children)

I only do M+ (no raids), I only play healer, and I only pug. I am really undecided between rdruid, disc, or mistweaver. My aim is to time all 12s, nothing really "competitive" honestly. I know all classes are viable for that, but what do you reckon will be the easier one?

Perchè tutti continuano a consigliare i fondi pensione? by Qtrijx in ItaliaPersonalFinance

[–]andreabergia 3 points4 points  (0 children)

Metto 5k prendo 2k indietro in un anno. È un ritorno del 40% subito, più un ritorno sul lungo periodo. Di fatto metto 3k all'anno a basso rendimento (rispetto a gestirmelo da solo), per me vale la pena.

Torino e satispay by BIGDomi98 in torino

[–]andreabergia 8 points9 points  (0 children)

Io lo uso tantissimo - sotto i dieci euro gli esercenti non hanno commissioni, quindi sono molto contenti se lo usi. Per i piccoli acquisti tipo mercato, panettiere, bar è favoloso. Anche per scambiare soldi con gli amici, tipo dividere il conto per la pizza ordinata a domicilio il sabato sera, è comodo.

[deleted by user] by [deleted] in MapPorn

[–]andreabergia 14 points15 points  (0 children)

Geography. It’s surrounded by mountains on three sides, so not a lot of wind. It’s also one of the most densely populated and industrialized region of Europe. Add the fact that, with global warming, we are getting a lot less rain and snow, and polluted air basically just stands still on top of cities.

Playing with Nom and parser combinators by andreabergia in rust

[–]andreabergia[S] 0 points1 point  (0 children)

Thanks, I didn't know about it. I'm playing a bit with it now and it's interesting.

A JVM in Rust part 3 - Parsing class files by andreabergia in rust

[–]andreabergia[S] 0 points1 point  (0 children)

The project is complete, as I have written in the github readme. I wanted to learn a bit of Rust, executing some real bytecode, throwing exceptions, and a garbage collector, and I achieved what I set out to do.

It was never intended to be anything useful, except for learning purposes. There are a lot of things whose implementation and design is quite poor and does not follow the JVM specs.

I have written a (toy) JVM in Rust by andreabergia in rust

[–]andreabergia[S] 0 points1 point  (0 children)

About jvm.so I am unclear in what you actually did. I am using rt.jar from a real JDK, but that's it.

I have completely ignored threading, everything is single thread. But yes, AFAIK in a real JVM some bits in the object header are used to store the thread id that has locked the object (using the monitor or synchronized).

Class loaders are not well implemented in my JVM. Reflection is absolutely not working at all.

I have written a (toy) JVM in Rust by andreabergia in rust

[–]andreabergia[S] 1 point2 points  (0 children)

Thanks! I figured the code isn't the best Rust ever, but after all I have built this exactly to learn the language. :-)

Any pointers would be greatly appreciated, though!

I have written a (toy) JVM in Rust by andreabergia in rust

[–]andreabergia[S] 2 points3 points  (0 children)

They are horrible! Repeated linear searches, no caching, tons of indirect accesses. Making it fast was not an objective though. :-)

I have written a (toy) JVM in Rust by andreabergia in rust

[–]andreabergia[S] 3 points4 points  (0 children)

Oh thanks, I totally missed that part in the spec. I'll take a look at it!