all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Nextstep build uses iso-latin by default. WHY?
Date: Fri, 15 Apr 2016 18:21:05 +0900	[thread overview]
Message-ID: <wlh9f3xm66.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <jwv1t672318.fsf-monnier+Inbox@gnu.org>

>>>>> On Thu, 14 Apr 2016 19:26:16 -0400, Stefan Monnier <monnier@iro.umontreal.ca> said:

>>> So Emacs switched to that "NS" port.  More or less around that
>>> same time, Yamamoto Mitsuharu started to work on the "old" code
>>> and adapt it to the newer version of the old API.  And here we
>>> are.
>> Could you expand what it means by "the newer version of the old
>> API" more concretely?

> IIUC your port derives from the carbon port.  I don't have a good
> grasp of the various APIs involved, but my understanding is that the
> carbon port was using an API which was being deprecated and you
> replaced some parts of it (or maybe all of it, for all I know) to
> use a newer API which was the "moral successor" of the old API.
> That's what I meant by "newer version of the old API".

Though the transition to (the predecessor of) the Mac port, almost all
uses of the deprecated parts of Carbon APIs are replaced with Cocoa
AppKit (mostly for GUI) and C APIs such as Core Foundation, Core Text,
Core Graphics, Image I/O frameworks.  Serious OSX/iOS(and tvOS?)
developers would never agree on calling these C APIs "the newer
version of the old API".  Would you call cairo as the newer version of
the old Xlib drawing API?

It is true that the Mac port uses some functions in the Carbon
framework, but only for fine control over low-level stuffs such as
Carbon Events and Apple Events, and they are not deprecated.

>> Compling the NS port with the recent SDK gives warnings about the
>> use of deprecated API, but the Mac port does not.

> I didn't mean to imply that the ns port uses a more
> recent/uptodate/modern API than your port.  Just that your port uses
> a more recent API than the carbon port.

I was concerned that your previous message might give a wrong
impression that the Mac port is using a (newer version, but) old API.
Some seem even think it uses Carbon instead of Cocoa for GUI, though
you can no longer build Carbon GUI apps with recent SDKs.

In reality, besides some eye-candy features such as emoji, 2x images,
or Core Animations, it's been adopting several unnoticable ones such
as Automatic Reference Counting, Objective-C generics, and non-main
thread drawing via Grand Central Dispatch behind the scenes.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp



  parent reply	other threads:[~2016-04-15  9:21 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-11 20:27 Nextstep build uses iso-latin by default. WHY? Angelo Graziosi
2016-03-11 20:49 ` Eli Zaretskii
2016-03-11 22:18   ` Angelo Graziosi
2016-03-12  6:54     ` Eli Zaretskii
2016-03-12 16:55       ` Angelo Graziosi
2016-03-11 22:41   ` Stefan Monnier
2016-03-20 15:11     ` Alan Third
2016-03-20 15:34       ` Stefan Monnier
2016-04-02 15:45       ` Alan Third
2016-04-08 13:57         ` Anders Lindgren
2016-04-08 14:41           ` Toon Claes
2016-04-08 19:59             ` Anders Lindgren
2016-04-08 23:03               ` John Wiegley
2016-04-14  6:30               ` Toon Claes
2016-04-14  9:31                 ` Anders Lindgren
2016-04-14 12:52                   ` Regexp search in debbugs (was: Nextstep build uses iso-latin by default. WHY?) Michael Albinus
2016-04-14 13:35                     ` Regexp search in debbugs Lars Magne Ingebrigtsen
2016-04-15  0:48                   ` Nextstep build uses iso-latin by default. WHY? YAMAMOTO Mitsuharu
2016-04-16  8:31                   ` YAMAMOTO Mitsuharu
2016-04-16 13:47                     ` Stefan Monnier
2016-04-16 22:32                       ` John Wiegley
2016-04-14 12:35                 ` Stefan Monnier
2016-04-14 16:39                   ` John Wiegley
2016-04-14 22:40                   ` YAMAMOTO Mitsuharu
2016-04-14 23:26                     ` Stefan Monnier
2016-04-15  5:42                       ` Anders Lindgren
2016-04-15  9:21                       ` YAMAMOTO Mitsuharu [this message]
2016-03-11 23:43   ` Angelo Graziosi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wlh9f3xm66.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.