HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
cntools
rawdraw
C2020–2020
cntools / rawdraw

rawdraw

Primitive Platform Agnostic Windowing+Input Header-Only Library

3Distinct people
3Mentions
0Explicit recommenders
484GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Primitive Platform Agnostic Windowing+Input Header-Only Library

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:54:37 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour3 dated mentions

Observed mentions: 2020-05-10 21:31:15 UTC to 2020-05-11 12:35:41 UTC.

0122020-05-10 21:00:00 UTC to 2020-05-10 22:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsMay 10, 21:002020-05-10 22:00:00 UTC to 2020-05-10 23:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-10 23:00:00 UTC to 2020-05-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 00:00:00 UTC to 2020-05-11 01:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 01:00:00 UTC to 2020-05-11 02:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 02:00:00 UTC to 2020-05-11 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 03:00:00 UTC to 2020-05-11 04:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 04:00:00 UTC to 2020-05-11 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMay 11, 04:002020-05-11 05:00:00 UTC to 2020-05-11 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 06:00:00 UTC to 2020-05-11 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 07:00:00 UTC to 2020-05-11 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 08:00:00 UTC to 2020-05-11 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 09:00:00 UTC to 2020-05-11 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 10:00:00 UTC to 2020-05-11 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 11:00:00 UTC to 2020-05-11 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-11 12:00:00 UTC to 2020-05-11 13:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMay 11, 12:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
May 10, 21:002020-05-10 21:00:00 UTC2020-05-10 22:00:00 UTC202
May 10, 22:002020-05-10 22:00:00 UTC2020-05-10 23:00:00 UTC000
May 10, 23:002020-05-10 23:00:00 UTC2020-05-11 00:00:00 UTC000
May 11, 00:002020-05-11 00:00:00 UTC2020-05-11 01:00:00 UTC000
May 11, 01:002020-05-11 01:00:00 UTC2020-05-11 02:00:00 UTC000
May 11, 02:002020-05-11 02:00:00 UTC2020-05-11 03:00:00 UTC000
May 11, 03:002020-05-11 03:00:00 UTC2020-05-11 04:00:00 UTC000
May 11, 04:002020-05-11 04:00:00 UTC2020-05-11 05:00:00 UTC000
May 11, 05:002020-05-11 05:00:00 UTC2020-05-11 06:00:00 UTC000
May 11, 06:002020-05-11 06:00:00 UTC2020-05-11 07:00:00 UTC000
May 11, 07:002020-05-11 07:00:00 UTC2020-05-11 08:00:00 UTC000
May 11, 08:002020-05-11 08:00:00 UTC2020-05-11 09:00:00 UTC000
May 11, 09:002020-05-11 09:00:00 UTC2020-05-11 10:00:00 UTC000
May 11, 10:002020-05-11 10:00:00 UTC2020-05-11 11:00:00 UTC000
May 11, 11:002020-05-11 11:00:00 UTC2020-05-11 12:00:00 UTC000
May 11, 12:002020-05-11 12:00:00 UTC2020-05-11 13:00:00 UTC101

What Hacker News says

3 sources
Java's bytecode is also more information dense than assembly is. Even if you only support a single architecture, a pure-Java Android app is going to almost certainly be smaller than a pure-C one, and by non-trivial amounts. If you start adding things like the Kotlin standardy library or Jetpack libraries or whatever then yes size balloons. But so too will the C app's size as its feature set expands to match. For example if this framework supported text[1] its size would explode as it grew ICU, FreeType, etc... dependencies, which are "huge." 1: yes there is a CNFGDrawText function but it uses a static map ( https://github.com/cntools/rawdraw/blob/a2a9f3c88b5caf92ef3c... ) which I'm pretty sure is ASCII only, and obviously doesn't support fonts. Or internationalization of any kind. And similarly for text layout it only "works" because it's
Read the rest
always monospace with a known "font" ( https://github.com/cntools/rawdraw/blob/a2a9f3c88b5caf92ef3c... )
In Rawdrawandroid: Build Android apps in C
> A little bit of this also has to do to stick it to all those luddites people on the internet who post "that's impossible" or "you're doing it wrong" to Stack Overflow questions... > Requesting permissions in the JNI "oh you have to do that in Java" or other dumb stuff like that. > If you want a bunch of examples of how to do a ton of things in C on Android that you "need" java for, scroll to the bottom of this file: > https://github.com/cntools/rawdraw/blob/master/CNFGEGLDriver... > it shows how to use the JNI to marshall a ton of stuff to/from the Android API without needing to jump back into Java/Kotlin land. I respect this attitude but it's wrong to say Java isn't being used or executed. The truth is Java code is being called from C. jclass ClassActivity = env->FindClass(envptr, "android/app/Activity"); jmethodID MethodrequestPer
Read the rest
missions = env->GetMethodID(envptr, ClassActivity, "requestPermissions", "([Ljava/lang/String;I)V"); env->CallVoidMethod(envptr, activity, MethodrequestPermissions, perm_array, 0); This code directly interfaces with the Java virtual machine. It obtains a handle to a Java class and a handle to one of its methods. Then it instructs the virtual machine to invoke the method with parameters supplied by code written in C. I searched the repository for JavaVM and JNI_CreateJavaVM and got no results. So this code is being dynamically loaded by a pre-existing Java virtual machine at runtime.
In Rawdrawandroid: Build Android apps in C

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.