[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Kilo

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 22
Thread images: 4

File: mJuFbTh.png (18KB, 658x338px) Image search: [Google]
mJuFbTh.png
18KB, 658x338px
>2017
>Not developing your own text editor in under 1000 LOC in C

https://github.com/antirez/kilo
>>
Which text editor should I use for developing it?
>>
>>62297518
ed
>>
>>62297518
None. Just echo everything to a file from your shell.
>>
>>62297522
This.
Write your own subset of GCC to compile it as well.
>>
>>62297527
Why not create my own dialect of C and write a compiler for it?
>>
>>62297545
Why make a dialect of something if it's not gonna add any new features?
fucken terryniggers btfo
>>
>>62297491
Why do they hate freedom®™?
>is released under the BSD 2 clause license.
>>
>>62297491
>Kilo doesn't depend on libraries
>#include <termios.h>
>#include <stdlib.h>
>#include <stdio.h>
>#include <errno.h>
>#include <string.h>
>#include <stdlib.h>
>#include <ctype.h>
>#include <sys/types.h>
>#include <sys/ioctl.h>
>#include <sys/time.h>
>#include <unistd.h>
>#include <stdarg.h>
>#include <fcntl.h>
>>
File: pica muito bonita obrigado.jpg (8KB, 232x197px) Image search: [Google]
pica muito bonita obrigado.jpg
8KB, 232x197px
>>62297587
>>
>>62297587
You sure are stupid.
>>
>>62297587
>Writing in C
>having so much amnesia that he included stdlib twice
just wew, can't wait for memleaks from sub 1k loc text editor
>>
File: out.gif (43KB, 508x500px) Image search: [Google]
out.gif
43KB, 508x500px
clear your shit nigger
>>
>>62297652
What's this terminal?
>>
>>62297667
Terminal.app (from os x)/mksh
>>
>>62297680
>Not using iTerm2 with zsh and oh-my-zsh

Pleb terminal
>>
>>62297652
the same happens on st and urxvt :^)
>>
File: ora.jpg (29KB, 228x239px) Image search: [Google]
ora.jpg
29KB, 228x239px
>>62297700
>using bloated shit
I'm comfy with bash
>>
>>62297700
>zsh with bloat-my-zsh
>calling ME pleb
I tried iTerm2, but its kinda bloated and i'm too used to standard. I'd use st if it would be more seamless to use x11 programs.
>>
He should have written it in Rust, would have been #1 on Hackernews
>>
>>62297700
>oh-my-zsh
get out
>>
>>62297723
>bash
>350k loc
> not bloated
......
Thread posts: 22
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.