Earlier quoted context omitted.
I don't write python but what makes it nice python?
It uses classes, magic methods where appropriate, is well documented, does its loops in a pythonic way; lots of things! It's taking advantage of idiomatic python, as opposed to simply using python as a C-style hammer.
F-Secure has open-sourced its Sandboxed Execution Environment
11–20 of 22 posts
Re: F-Secure has open-sourced its Sandboxed Execution Environment
#12Earlier quoted context omitted.
It uses classes, magic methods where appropriate, is well documented, does its loops in a pythonic way; lots of things! It's taking advantage of idiomatic python, as opposed to simply using python as a C-style hammer.
I wasn't familiar with the "magic methods" term, so for anyone else in the same boat, that refers to the functions like __init__, __repr__, __add__, __hex__, __len__, etc that you can define in your classes to make them work with built in functions like len(custom_listy_thing) or arithmetic.
Re: F-Secure has open-sourced its Sandboxed Execution Environment
#13Re: F-Secure has open-sourced its Sandboxed Execution Environment
#14Woah, I was not expecting that. Not only is it in Python but it's nice Python, not the bastardized "I can write C, let's try Python" style you often see from big companies.
As a C programmer who "tried" Python, I feel offended. I wrote substantial OO code using list comperhensions and other things pythonic. I am also a functional programming affectionado, though a realist, not a fan. Don't label people. Speak against companies mismanaging people by driving them to write low quality code. Be open and promote useful programming concepts and tools. P.S. Long live static typing. Down with E…
the thing i don't understand is what you took offense at.
Re: F-Secure has open-sourced its Sandboxed Execution Environment
#15What are the advantages of using this over Cuckoo Sandbox, or Anubis?
Re: F-Secure has open-sourced its Sandboxed Execution Environment
#16why would they open source this?
Re: F-Secure has open-sourced its Sandboxed Execution Environment
#17What are the advantages of using this over Cuckoo Sandbox, or Anubis?
Maybe the biggest advantage is the plugin system and how those can be hooked to the execution. Developer focuses on writing a LEGO brick that can be used as a part of execution. Also different plugins do not need to care about existence of other plugins, but on the other hand those plugins can be chained by firing and listening to events.
Re: F-Secure has open-sourced its Sandboxed Execution Environment
#18Earlier quoted context omitted.
As a C programmer who "tried" Python, I feel offended. I wrote substantial OO code using list comperhensions and other things pythonic. I am also a functional programming affectionado, though a realist, not a fan. Don't label people. Speak against companies mismanaging people by driving them to write low quality code. Be open and promote useful programming concepts and tools. P.S. Long live static typing. Down with E…
when you write C, you should be writing elegant C. when you write Python, you should be writing elegant Python. trying to code Python in C is about as ugly as trying to code C in Python and both should be discouraged equally. the thing i don't understand is what you took offense at.
Re: F-Secure has open-sourced its Sandboxed Execution Environment
#19Earlier quoted context omitted.
when you write C, you should be writing elegant C. when you write Python, you should be writing elegant Python. trying to code Python in C is about as ugly as trying to code C in Python and both should be discouraged equally. the thing i don't understand is what you took offense at.
Swap the languages around and see if the statement doesn't sound a bit elitist to you. I feel like the parent could have chosen more neutral words if they wanted to. Their particular experience with irreverent/careless programmers just rubbed against my experience with technology fans I guess (the word fans used in the same sense as in my previous comment).
Trying to use first-class functions and OO paradigms in C is going to bite you in the ass, hard.
Just as iterative pointer manipulations in Python aren't preferable.
Both languages have different "styles" that suit their purposes excellently, but mixing them improperly in either direction will be painful.
Re: F-Secure has open-sourced its Sandboxed Execution Environment
#20Earlier quoted context omitted.
when you write C, you should be writing elegant C. when you write Python, you should be writing elegant Python. trying to code Python in C is about as ugly as trying to code C in Python and both should be discouraged equally. the thing i don't understand is what you took offense at.
Swap the languages around and see if the statement doesn't sound a bit elitist to you. I feel like the parent could have chosen more neutral words if they wanted to. Their particular experience with irreverent/careless programmers just rubbed against my experience with technology fans I guess (the word fans used in the same sense as in my previous comment).
DH2. Responding to Tone.