arisuchan    [ tech / cult / art ]   [ λ / Δ ]   [ psy ]   [ ru ]   [ random ]   [ meta ]   [ all ]    info / stickers     temporarily disabledtemporarily disabled

/λ/ - programming

structure and interpretation of computer programs.
Name
Email
Subject
Comment

formatting options

File
Password (For file deletion.)

Help me fix this shit. https://legacy.arisuchan.jp/q/res/2703.html#2703

Kalyx ######


File: 1502228868537.jpg (4.21 MB, 3655x2427, Patient.jpg)

 No.506

I got a quick question but it's more like a poll.
Python or Ruby?

 No.507

I know Python but Ruby seems more interesting.

 No.508

I'm more of a Ruby guy

 No.509

Kinda like Python more.

Its syntax appeals to me more and I think making C modules is easier.

 No.626

File: 1504981136090.png (617.54 KB, 1920x1080, bluetomo.png)

Neither. Lua or you're doing it wrong.

Here is a list of objective reasons why:
<li> oop is a fad </li>
<li> writting libraries in C for lua is incredibly easy </li>
<li> embeding lua in C is incredibly easy </li>
<li> delimiting blocks with whitespace is a ugly/confusing syntax </li>
<li> calling functions with no parenthesis is ugly/confusing syntax </li>

In all seriousness, what it boils down to is this; lua is the smallest of the three, and the most extensible / customizable of the three. It's codebase is small enough that you can feasibly hack lua itself, going beyond "meta programming", turning the language into exactly what you need it to be.

I guess to reference ruby's philosophy of convention over configuration, I am very partial to configuration over convention.

 No.627

>>626
I've been very interested in Lua for a while. I might look into it more now.

 No.628

>>626
It has less libraries available than Python though.

And for embeddable, easy C-interoperability langs, I'd rather go with Guile.

 No.629

I know mainly Python and a bit of Ruby. I think Ruby is a little confusing in how many ways there are to do the same thing since i learned Python first.

 No.630

>>628
>less libraries available than Python
This is, to me, irrelevant. Porting C libraries to lua is so easy you could do it in a day or two, depending on the size of the library.

 No.632

Ruby all the way. Ruby is a very well designed language, the deeper you learn it, the more you see how everything connects, which is the opposite of most languages where the deeper you learn it the more you get caught up in idiosyncrasies.

Potentially the best scripting language would be Coffeescript, they got everything right. But its not a standalone language, its just a transpiler to Javascript.

 No.633

Ruby, It's Syntax is nicer but I believe Python has a larger community with bigger support.
( But that doesn't make up for how soykaf it feels to program in it )

 No.733

Greatly prefer Python, if only for the massive support and great libraries. The only time I use Ruby is to write Metasploit modules (ergo, not by choice), and I just don't care for how loose the language feels. Also it's slow.

 No.734

>>733
I thought Python was supported for Metasploit modules for the last few years? Maybe I was misinformed.

 No.735

>>734
You can hack stuff together with Python using msgrpc, but it's un-intuitive and being that Metasploit is already written in Ruby, using Ruby just makes sense to me in this case.



[Return] [Go to top] [ Catalog ] [Post a Reply]
Delete Post [ ]