"Dense matter: heavy-ion vs. neutron-star physics"