[ / / / / / / / / / / / / / ] [ dir / bestemma / christ / general / komica / mde / monarchy / pinoy / vichan ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

[–]

 No.993125>>993129 >>993160 [Watch Thread][Show All Posts]

ncurses or slang? Which is less harmful?

 No.993126

printf


 No.993129

>>993125 (OP)

use the ansi terminal codes manually


 No.993131>>993213

using an abstraction layer to try and bridge the 16-color non-utf8 linux console and a character grid window running in your entire goddamn display server is beyond retarded


 No.993133>>993161

define 'harmful'


 No.993160

>>993125 (OP)

termbox


 No.993161

>>993133

problematic


 No.993213

>>993131

>beyond retarded

writing to the terminal is slow.

writing to memory is fast.

what ncurses and let you do is

1. you normally write to memory

2. you say when the screen should be updated

3. a diffing algorithm is used to make only the needed updates, and to make them in an optimal manner, rather than f.e. clear and redraw the screen


 No.993214>>993254

and just use ncurses. slang cucked out when he added the C-like syntax


 No.993254

>>993214

>C-like syntax

is godsend




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
9 replies | 0 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / bestemma / christ / general / komica / mde / monarchy / pinoy / vichan ][ watchlist ]