Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

imageboard

Name: Anonymous 2011-11-16 9:05

I am going to create an imageboard. Which language should I write it in?

* c (custom cgi or fastcgi)
* perl (custom fastcgi)
* python (custom fastcgi or wsgi)
* javascript (node.js)

JavaScript is looking particularly attractive.

Name: Anonymous 2011-11-16 9:06

Perl (like CGI should be done) or C (fast is good).

Name: Anonymous 2011-11-16 9:08

Create a text board which users browse using a CLI.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-11-16 9:08

>>1
If you intend it to be something you will optimize in the future, pick C.
If its quick and dirty stuff that you need to get prototype fast, Node.js

Name: Anonymous 2011-11-16 9:08

>>2
Would there be limiting negative factors to using node.js? V8 is probably the fastest interpreted language interpreter around, and a well-written node.js server is very scalable and light.

Perl is the only language on the list that I don't already know, and I am afraid of using C as development times will skyrocket.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-11-16 9:20

Node.js is about 100x faster to write websites in, but you're locking yourself into node engine architecture, unlike C.

Name: Anonymous 2011-11-16 9:22

>>6
But aren't you also locking yourself into the C architecture by using C... so to speak?

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-11-16 9:24

>>7
v8 is written in C++, so you're already locked into C++.

Name: Anonymous 2011-11-16 9:25

>>8
I don't see how that is at all relevant.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-11-16 9:26

>>9
node.js runs on v8

Name: Anonymous 2011-11-16 9:27

Scheme

Name: Anonymous 2011-11-16 9:38

Ruby on Sinatra through a cluster of Thins reverse proxied by nginx running on gentoo.

Name: Anonymous 2011-11-16 9:45

Racket has a #lang for that.

Name: Anonymous 2011-11-16 9:49

>>13
was meant for >>12

Name: Anonymous 2011-11-16 10:41

>>13-14
Lisp is shit.

Name: Anonymous 2011-11-16 11:21

Just use Perl on PSGI

Name: Anonymous 2011-11-16 11:51

Concurrent brainfuck proxied through Netscape Enterprise Server, with data stored as Subversion'd CSV files.

Name: Anonymous 2011-11-16 12:50

>>17
There's a PLaneT package for that.

Name: Anonymous 2011-11-16 12:51

Node.js should answer 99% of "i want to create an imageboard threads" since its
1.very easy to start writing from scratch
2.event model is pretty scalable
3.it low on memory use, unlike those hip python/ruby stacks

Name: Anonymous 2011-11-16 12:54

JavaScript is looking particularly attractive
kill yourself now.

also, there's only one thing that matters for imageboard scripts: ease of setup/hosting/tweaking. go with php stupid.

Name: Anonymous 2011-11-16 12:58

P2P networks are the future, chans will eventually move onto such medium where you can't shut them down bu ddosing a single host and there is no control from higher power like moderators and admins.

Name: Anonymous 2011-11-16 13:04

>>19
Node.js isn't scalable. Read http://teddziuba.com/2011/10/node-js-is-cancer.html (please forgive his imageboardisms).

>>20
PHP is on par with COBOL on the abomination-o-meter.

Name: Anonymous 2011-11-16 13:53

>>18
(require (planet xkcd/shitty-jokes/antigravity))

Name: Anonymous 2011-11-16 14:10

>>23
(define (rand all) 4) ; guaranteed to be random by a fair die roll

Name: Anonymous 2011-11-16 14:39

C or node.js.

Everything else has already been done to death, especially Perl. No beating Wakaba at this point.

Name: ferf 2011-11-16 15:03

You should hack it in C with dietlibc[1], lbowfat[2], running under gatling[3] with an tinyldap-backend[4].

_____
[1]: http://www.fefe.de/dietlibc/
[2]: http://www.fefe.de/libowfat/
[3]: http://www.fefe.de/gatling/
[4]: http://www.fefe.de/tinyldap/

Name: Anonymous 2011-11-16 15:04

>>22
lmao that guy challenges zed shaw for the most complete asshole loudmouth programmer title

Name: Anonymous 2011-11-16 15:05

>>25
This is a good idea -- there's enough imageboard software out there, and it's easy to write your own anyways, so why not do it in an interesting language?

Name: Anonymous 2011-11-16 15:07

>>21
why not just go back to usenet, which is the same thing as what you just described..?

Name: Anonymous 2011-11-16 15:14

>>21
Shhhhhhhhhh

Name: Anonymous 2011-11-16 15:14

>>5
V8 is probably the fastest interpreted language interpreter around
that would be pypy, actually

Name: Anonymous 2011-11-16 15:32

>>22
COBOL makes PHP look like Lisp

Name: Anonymous 2011-11-16 15:40

>>31
[citation needed]

Name: Anonymous 2011-11-16 16:44

>>26
fick dich weg du huso

Name: VIPPER 2011-11-16 17:44

>>21
I want to die.

Name: Anonymous 2011-11-16 18:50

>>33
just try it. you might like it!

Name: Anonymous 2011-11-16 19:09

>>36
Exactly like anal sex with men!

Name: Anonymous 2011-11-17 2:04

gross

Name: Anonymous 2011-11-17 2:19

people who talk loudest about scalability, maximum concurrent queries and cpu load are probably alienated from their users enough so that they are just a couple of numbers to them, so there is no scalability problem because no one will scale into that autism pit.

Name: Anonymous 2011-11-17 2:24

>>39
Thats not a problem, you can add simulated users with a bit of bot magic(Reposting and remixing genuine content), i've seen that on few small sites.

Don't change these.
Name: Email:
Entire Thread Thread List